private static void bottleize(BottleInput input, string directory) { writeManifestIfNecessary(directory); writeIndexPageIfNecessary(directory); writeIndexProjectFileIfNecessary(directory); NuspecMaker.CreateNuspecIfMissing(directory); gatherNuspecInformation(directory); if (!input.NoZipFlag) { bottleItUp(directory); } }
public override bool Execute(BottleInput input) { var fileSystem = new FileSystem(); importSnippets(input); var directory = input.DetermineDocumentsFolder(); writeManifestIfNecessary(directory, fileSystem); writeFubuDocModuleAttributeIfNecessary(directory, fileSystem); NuspecMaker.CreateNuspecIfMissing(directory); if (!input.NoZipFlag) { bottleItUp(directory); } return(true); }