コード例 #1
0
        /// <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");
        }
コード例 #2
0
        /// <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");
            }
        }
コード例 #3
0
 /// <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);
コード例 #4
0
 public override IEnumerable <string> GetTargetPaths(PipelineObject target)
 {
     yield return("");
 }