/// <summary> /// Gets the relative paths where the files for the source module will be placed in the target module. /// </summary> public override IEnumerable <string> GetTargetPaths(PipelineObject target) { if (target is Target) { // if we're copying to a target path, just copy into the root. yield return(""); yield break; } yield return(@"Dependencies"); }
/// <summary> /// Gets the relative paths where the files for the source module will be placed in the target module. /// </summary> public override IEnumerable <string> GetTargetPaths(PipelineObject target) { if (target is Target) { // if we're copying to a target path, just copy into the root. yield return(""); yield break; } // copy into each of the nuget folders provided by the module. foreach (var path in Provides) { yield return($@"packages\{path}\lib"); } if (target is TfsModule) { yield return(@"Dependencies"); } }
/// <summary> /// Gets the relative paths where the files for the source module will be placed in the target module. /// </summary> public abstract IEnumerable <string> GetTargetPaths(PipelineObject target);
public override IEnumerable <string> GetTargetPaths(PipelineObject target) { yield return(""); }