예제 #1
0
        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);
        }
예제 #2
0
            private static void Main()
            {
                HostApplication app = new HostApplication();

                app.Run(new MainWindow());
            }