Exemple #1
0
 public BuildTargetCommand()
     : base("skyblivion:parser:build", "Build Target", "Create artifact(s) from OBScript source")
 {
     Input.AddArgument(new LPCommandArgument("targets", "The build targets", BuildTargetFactory.DefaultNames));
     Input.AddArgument(new LPCommandArgument("threadsNumber", "Threads number", DefaultThreads.ToString()));
     Input.AddArgument(new LPCommandArgument("buildPath", "Build folder", Build.DEFAULT_BUILD_PATH));
 }
 public BuildScriptCommand()
     : base("skyblivion:parser:buildScript", "Build Script", "Create artifact from OBScript source")
 {
     Input.AddArgument(new LPCommandArgument("scriptName", "Script name"));
     Input.AddArgument(new LPCommandArgument("targets", "The build targets", BuildTargetFactory.DefaultNames));
     Input.AddArgument(new LPCommandArgument("buildPath", "Build folder", Build.DEFAULT_BUILD_PATH));
 }
 public BuildTIFFragmentsCommand()
 {
     Name        = "skyblivion:parser:buildTifFragments";
     Description = "Run lexing and parsing test against whole TIF fragments suite and build papyrus scripts";
     Input.AddArgument(new LPCommandArgument("buildPath", "Build folder", Build.DEFAULT_BUILD_PATH));
     Input.AddOption(new LPCommandOption("skip-parsing", "sp", "Skip the parsing part.", "false"));
     Input.AddOption(new LPCommandOption("mode", null, "The mode this build runs in. Allowed: sloppy (will start building on over 50% scripts parsed), normal (85% and over will trigger the build), strict (over 95% will trigger the build), and perfect (only 100% will trigger the build), defaults to strict.", "strict"));
     this.fragmentsReferencesBuilder = new FragmentsReferencesBuilder();
 }
 public BuildInteroperableCompilationGraphs()
     : base("skyblivion:parser:buildGraphs", FriendlyNameConst, "Build graphs of scripts which are interconnected to be transpiled together")
 {
     Input.AddArgument(new LPCommandArgument("targets", "The build targets", BuildTargetFactory.DefaultNames));
 }