Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.87 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.87 KB

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

Alias Command Description
mxb mx build Build the artifacts of one or more dependencies.
mxbe mx benchmark Run a benchmark suite.
mxcl mx clean Remove all .class files, images, and executables.
mxcs mx checkstyle Run Checkstyle on the Java sources.
mxf mx eclipseformat Run the Eclipse Code Formatter on the Java sources.
mxu mx unittest Run JUnit tests.
mxdu mx -d unittest Run JUnit tests in debug mode.
mxupd mx update Update mx to the latest version.

Features

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