CLI usage
CLI usage
MBT provides a minimalist CLI to compile your projects.
mbt build [-f projectfile]
Builds project from mbt-project.toml in current directory or from specified project file.
Uses java 1.1 as target and java 1.3 as source.
Outputs a handful of class files in defined build output directory. Also does preverifying.
Attention
Needs to have a set environment variable in order to work. Learn more 1, Learn more 2
mbt jar [-f projectfile] <jarfile>
Packages project from mbt-project.toml in current directory or from specified project file.
Packages previously built classes, bundled libraries, resources and MANIFEST
into a JAR and stores it under defined <jarfile> path.
Attention
Needs to have a set environment variable in order to work. Learn more
mbt get-proguard [version]
Get a ProGuard JAR from maven.
Saves to ./proguard.jar.