public bool RunTarget(string target, bool load) { this.CurrentTask = target; bool result; if (load) { IList <string> args = this.GetArgs(target); result = _Application.Run(args); } else { CakeReport report = _Host.RunTarget(target); result = (report != null && !report.IsEmpty); } this.CurrentTask = ""; return(result); }
private static void Main() { HostApplication app = new HostApplication(); app.Run(new MainWindow()); }