Ejemplo n.º 1
0
        private static bool TestTask(string[] inputFiles, string[] outputFiles, out List <BuildEventArgs> buildEvents)
        {
            buildEvents = new List <BuildEventArgs>();
            var task = new CompilePegGrammar
            {
                InputFiles  = inputFiles,
                OutputFiles = outputFiles,
                BuildEngine = new BuildEngine(buildEvents),
            };

            return(task.Execute());
        }
Ejemplo n.º 2
0
        private static bool TestTask(string[] inputFiles, string[] outputFiles, out List<BuildEventArgs> buildEvents)
        {
            buildEvents = new List<BuildEventArgs>();
            var task = new CompilePegGrammar
            {
                InputFiles = inputFiles,
                OutputFiles = outputFiles,
                BuildEngine = new BuildEngine(buildEvents),
            };

            return task.Execute();
        }