Beispiel #1
0
        public override void Run(Configuration config, CommandArguments args)
        {
            base.Run(config, args);

            var target        = args.GetTarget(this);
            var buildFileName = Path.Combine(config.BuildsDirectory, target, config.Windows.BuildFile);

            ProcessTools.RunProcessAndEnsureSuccess(this, $"Run('{target}')", buildFileName, "");
        }
Beispiel #2
0
        public override void Run(Configuration config, CommandArguments args)
        {
            base.Run(config, args);

            var target   = args.GetTarget(this);
            var buildDir = Path.Combine(config.BuildsDirectory, target);

            using (var proc = ProcessTools.RunProcess("python", "-m SimpleHTTPServer", buildDir)) {
                Console.WriteLine("Web server started on 'localhost:8000'");
            }
        }
Beispiel #3
0
        public override void Run(Configuration config, CommandArguments args)
        {
            base.Run(config, args);

            var target            = args.GetTarget(this);
            var configurationName = args.Get(this, "configuration");
            var platforms         = args.GetAll(this, "platform");

            RunLibraryBuildFor(config, configurationName, platforms);
            RunFrontendBuildFor(config, configurationName);
            CopyBuildResult(config, target, configurationName);
        }
Beispiel #4
0
        public override void Run(Configuration config, CommandArguments args)
        {
            base.Run(config, args);

            var projectPath       = config.MacOS.XcodeProjectPath;
            var target            = args.GetTarget(this);
            var configurationName = args.Get(this, "configuration");
            var outputPath        = Path.Combine(Directory.GetCurrentDirectory(), config.BuildsDirectory, target);

            var buildArgs =
                $"-project {projectPath} -scheme {target} -configuration {configurationName} build " +
                $"SYMROOT=\"{outputPath}\"";

            Console.WriteLine("Start Xcode build with args: " + buildArgs);
            ProcessTools.RunProcessAndEnsureSuccess(this, "XCode Build", "xcodebuild", buildArgs);
        }
Beispiel #5
0
 public override void Run(Configuration config, CommandArguments args)
 {
     base.Run(config, args);
     InterateWindowsClassicProject(config, GetProjectTargetDirectory(config, args.GetTarget(this)));
 }