Пример #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}"));
        }
Пример #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);
            }
        }
Пример #3
0
        private static bool ProcessTargets(string targets)
        {
            var checker = new TargetsCheckerUtil(targets);

            return(CheckCore(checker, $"Targets {targets}"));
        }
Пример #4
0
 private static bool ProcessTargets(string targets)
 {
     var checker = new TargetsCheckerUtil(targets);
     return CheckCore(checker, $"Targets {targets}");
 }