Ejemplo n.º 1
0
        public void RunTask(string name)
        {
            NodeJS tasks = new NodeJS();

            tasks.addEventListener("exit", delegate(Dom.Event e){
                TaskList = (e as NodeEvent).stdOutput;
            });

            // Run the task by its name (blank runs default task):
            tasks.run("gulp", name);
        }
Ejemplo n.º 2
0
        public void ListTasks()
        {
            NodeJS tasks = new NodeJS();

            tasks.addEventListener("exit", delegate(Dom.Event e){
                TaskList = (e as NodeEvent).stdOutput;
            });

            // Run the task list gulp proc:
            tasks.run("gulp", "--tasks");
        }