Ejemplo n.º 1
0
        private static bool ProcessTargets(string repositoryDirectory)
        {
            var targetsDirectory = Path.Combine(repositoryDirectory, @"build\Targets");
            var checker          = new TargetsCheckerUtil(targetsDirectory);

            return(CheckCore(checker, $"Targets {targetsDirectory}"));
        }
Ejemplo n.º 2
0
        private static bool ProcessTargets(string targets)
        {
            var checker    = new TargetsCheckerUtil(targets);
            var textWriter = new StringWriter();

            if (checker.CheckAll(textWriter))
            {
                Console.WriteLine($"Processing {Path.GetFileName(targets)} passed");
                return(true);
            }
            else
            {
                Console.WriteLine($"Processing {Path.GetFileName(targets)} FAILED");
                Console.WriteLine(textWriter.ToString());
                return(false);
            }
        }
Ejemplo n.º 3
0
        private static bool ProcessTargets(string targets)
        {
            var checker = new TargetsCheckerUtil(targets);

            return(CheckCore(checker, $"Targets {targets}"));
        }
Ejemplo n.º 4
0
 private static bool ProcessTargets(string targets)
 {
     var checker = new TargetsCheckerUtil(targets);
     return CheckCore(checker, $"Targets {targets}");
 }