mx plugin

March 3, 2020 ยท View on GitHub

mx plugin

Provides handy completions for mx as well as some aliases for common mx commands.
mx is (more than just) the build tool used by the GraalVM project.

Install

git clone --depth 1 https://github.com/mukel/mx-honey.git ${ZSH_CUSTOM:=$HOME/.oh-my-zsh/custom}/plugins/mx

To use it, add mx to the plugins in your ~/.zshrc file:

plugins(... mx)

Aliases

AliasCommandDescription
mxbmx buildBuild the artifacts of one or more dependencies.
mxbemx benchmarkRun a benchmark suite.
mxclmx cleanRemove all .class files, images, and executables.
mxcsmx checkstyleRun Checkstyle on the Java sources.
mxfmx eclipseformatRun the Eclipse Code Formatter on the Java sources.
mxumx unittestRun JUnit tests.
mxdumx -d unittestRun JUnit tests in debug mode.
mxupdmx updateUpdate mx to the latest version.

Features

  • mx aliases
  • mx global-options
  • Common sub-command completion
  • mx benchmark completion with support for dynamic imports (--dy)