public void LogTargetStarted(IFlubuRunnerTarget target) { foreach (IFlubuLogger logger in loggers) { logger.LogTargetStarted(target); } }
public void LogTargetFinished(IFlubuRunnerTarget target) { if (this.projectTargetStack.Count > 0) { this.projectTargetStack.Pop(); } }
public void LogTargetFinished(IFlubuRunnerTarget target) { executionDepthCounter--; WriteLine( ConsoleColor.White, "{0} finished (took {1} seconds)", target.TargetName, (int)target.TargetStopwatch.Elapsed.TotalSeconds); }
public void LogTargetFinished(IFlubuRunnerTarget target) { log.InfoFormat( CultureInfo.InvariantCulture, "{0} finished (took {1} seconds)", target.TargetName, (int)target.TargetStopwatch.Elapsed.TotalSeconds); executionDepthCounter--; }
/// <summary> /// Runs the specified target. /// </summary> /// <param name="targetName">Name of the target.</param> /// <returns>The same instance of this <see cref="TRunner"/>.</returns> public TRunner RunTarget(string targetName) { if (false == Targets.ContainsKey(targetName)) { throw new ArgumentException(FormatString("The target '{0}' does not exist", targetName)); } IFlubuRunnerTarget target = Targets[targetName]; target.Execute(); return(ReturnThisTRunner()); }
public TRunner EnsureDependenciesExecuted(string targetName) { IFlubuRunnerTarget target = Targets[targetName]; foreach (string dependency in target.Dependencies) { if (false == executedTargets.ContainsKey(dependency)) { RunTarget(dependency); } } return(ReturnThisTRunner()); }
public void LogTargetStarted(IFlubuRunnerTarget target) { WriteLine(ConsoleColor.White, String.Empty); WriteLine(ConsoleColor.White, "{0}:", target.TargetName); executionDepthCounter++; }
public void LogTargetStarted(IFlubuRunnerTarget target) { this.projectTargetStack.Push(FormatMessage("Starting Target {0}", target.TargetName)); this.messageQueue.Clear(); WriteQueueData(); }
public void LogTargetStarted(IFlubuRunnerTarget target) { log.InfoFormat(CultureInfo.InvariantCulture, "{0}:", target.TargetName); executionDepthCounter++; }