System.out.println(Metadata.VERSION);
}
}
private static void compile(CompilerCommand options) {
GoloCompiler compiler = new GoloCompiler();
File outputDir = new File(options.output);
for (String source : options.sources) {
File file = new File(source);
try (FileInputStream in = new FileInputStream(file)) {
compiler.compileTo(file.getName(), in, outputDir);
} catch (IOException e) {
System.out.println("[error] " + source + " does not exist or could not be opened.");
return;
} catch (GoloCompilationException e) {
handleCompilationException(e);