Пример #1
0
 public BuildHandler(BuildCommandBuilder commandBuilder)
 {
     _commandBuilder = commandBuilder;
     _response = new BuildResponse();
     _quickFixes = new List<QuickFix>();
     _logParser = new BuildLogParser();
 }
Пример #2
0
 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);
 }