ToString() public method

public ToString ( ) : string
return string
Example #1
0
 public FileSet Exclude(File path)
 {
     _isInclusion = false;
     ProcessPendings();
     PendingExclude = path.ToString();
     return(this);
 }
Example #2
0
 private void PublishToRepository()
 {
     Task.Publish.ToGoogleCode(x => x.LocalFileName(ZipFilePath.ToString())
                               .UserName(Properties.CommandLineProperties.GetProperty("GoogleCodeUsername"))
                               .Password(Properties.CommandLineProperties.GetProperty("GoogleCodePassword"))
                               .ProjectName("fluent-build")
                               .Summary("Release (v" + _version + ")")
                               .TargetFileName(_finalFileName));
 }
Example #3
0
        public static FileSet GetProjectReferences(File projectFile, Directory libFolder)
        {
            var references = XDocUtil.LoadIgnoreingNamespace( projectFile.ToString() )
                .XPathSelectElements( "//HintPath" )
                .Select( h => System.IO.Path.GetFileNameWithoutExtension( h.Value ) )
                .ToList();

            return references.Aggregate( new FileSet(),
                                         ( set, assembly ) =>
                                             {
                                                 Folders.Lib.Files( "*{0}*".With( assembly ) )
                                                     .Files.ToList()
                                                     .ForEach( f => set.Include( f ) );

                                                 return set;
                                             }, set => set );
        }
Example #4
0
 public FileSet Include(File path)
 {
     return ProcessInclude(path.ToString());
 }
Example #5
0
 public FileSet Exclude(File path)
 {
     _isInclusion = false;
     ProcessPendings();
     PendingExclude = path.ToString();
     return this;
 }
Example #6
0
 public FileSet Include(File path)
 {
     return(ProcessInclude(path.ToString()));
 }
Example #7
0
 public static Executable Executable(File executablePath)
 {
     return new Executable(executablePath.ToString());
 }