示例#1
0
 public BuildHandler(BuildCommandBuilder commandBuilder)
 {
     _commandBuilder = commandBuilder;
     _response = new BuildResponse();
     _quickFixes = new List<QuickFix>();
     _logParser = new BuildLogParser();
 }
 public BuildHandler(BuildCommandBuilder commandBuilder)
 {
     _commandBuilder = commandBuilder;
     _response       = new BuildResponse();
     _quickFixes     = new List <QuickFix>();
     _logParser      = new BuildLogParser();
 }
示例#3
0
        public BuildCommandModule(BuildCommandBuilder commandBuilder)
        {
            Post["BuildCommand", "/buildcommand"] = x =>
                Response.AsText(commandBuilder.Executable.ApplyPathReplacementsForClient() + " " + commandBuilder.BuildArguments(true));

            Post["BuildTarget", "/buildtarget"] = x =>
            {
                var req = this.Bind<BuildTargetRequest>();
                return Response.AsJson(commandBuilder.BuildCommand(req));
            };
        }
示例#4
0
        public BuildCommandModule(BuildCommandBuilder commandBuilder)
        {
            Post["BuildCommand", "/buildcommand"] = x =>
                                                    Response.AsText(commandBuilder.Executable.ApplyPathReplacementsForClient() + " " + commandBuilder.BuildArguments(true));

            Post["BuildTarget", "/buildtarget"] = x =>
            {
                var req = this.Bind <BuildTargetRequest>();
                return(Response.AsJson(commandBuilder.BuildCommand(req)));
            };
        }
示例#5
0
 public BuildCommandModule(BuildCommandBuilder commandBuilder)
 {
     Post["/buildcommand"] = x =>
         Response.AsText(commandBuilder.Executable + " " + commandBuilder.Arguments);
 }
示例#6
0
 public BuildCommandModule(BuildCommandBuilder commandBuilder)
 {
     Post["/buildcommand"] = x =>
                             Response.AsText(commandBuilder.Executable + " " + commandBuilder.Arguments);
 }
示例#7
0
 public BuildCommandModule(BuildCommandBuilder commandBuilder)
 {
     Post["/buildcommand"] = x =>
                             Response.AsText(commandBuilder.Executable.ApplyPathReplacementsForClient() + " " + commandBuilder.Arguments);
 }
示例#8
0
 public BuildCommandModule(BuildCommandBuilder commandBuilder)
 {
     Post["/buildcommand"] = x =>
         Response.AsText(commandBuilder.Executable.ApplyPathReplacementsForClient() + " " + commandBuilder.Arguments);
 }