JS backend: add -meta-info command line option for cli compiler

This commit is contained in:
Michael Nedzelsky
2014-12-29 14:17:34 +03:00
parent 711501af56
commit 3bf14518e8
7 changed files with 26 additions and 0 deletions
@@ -38,6 +38,10 @@ public class K2JSCompilerArguments extends CommonCompilerArguments {
@Argument(value = "source-map", description = "Generate source map")
public boolean sourceMap;
@Argument(value = "meta-info", description = "Generate meta information and save to the given file")
@ValueDescription("<path>")
public String metaInfo;
@Argument(value = "target", description = "Generate JS files for specific ECMA version (only ECMA 5 is supported)")
@ValueDescription("<version>")
public String target;