use of net.jangaroo.jooc.cli.JoocCommandLineParser in project jangaroo-tools by CoreMedia.
the class Jooc method run.
public static int run(String[] argv, CompileLog log) {
try {
JoocCommandLineParser commandLineParser = new JoocCommandLineParser();
JoocConfiguration config = commandLineParser.parse(argv);
if (config != null) {
return new Jooc(config, log).run().getResultCode();
}
} catch (CommandLineParseException e) {
// NOSONAR this is a commandline tool
System.out.println(e.getMessage());
return e.getExitCode();
}
return CompilationResult.RESULT_CODE_OK;
}
Aggregations