예제 #1
0
        private static void bottleize(BottleInput input, string directory)
        {
            writeManifestIfNecessary(directory);
            writeIndexPageIfNecessary(directory);
            writeIndexProjectFileIfNecessary(directory);

            NuspecMaker.CreateNuspecIfMissing(directory);

            gatherNuspecInformation(directory);

            if (!input.NoZipFlag)
            {
                bottleItUp(directory);
            }
        }
예제 #2
0
        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);
        }