public FileSet Exclude(File path) { _isInclusion = false; ProcessPendings(); PendingExclude = path.ToString(); return(this); }
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)); }
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 ); }
public FileSet Include(File path) { return ProcessInclude(path.ToString()); }
public FileSet Exclude(File path) { _isInclusion = false; ProcessPendings(); PendingExclude = path.ToString(); return this; }
public FileSet Include(File path) { return(ProcessInclude(path.ToString())); }
public static Executable Executable(File executablePath) { return new Executable(executablePath.ToString()); }