コード例 #1
0
        internal static void Clean(string directory)
        {
            var scCleaner = new RemoveSourceControlBindings {
                ProcessDirectory = directory
            };

            scCleaner.Execute();
        }
コード例 #2
0
        internal static void CleanDirectory(this string directory)
        {
            // Remove standard directories
            directory.RemoveSubDirectories("bin", "obj", "TestResults", "_ReSharper*");

            // Remove directories provided on command line also
            directory.RemoveSubDirectories(Program.Options.RemoveDirectories);

            directory.DeleteFiles("*.ReSharper*", "*.suo");
            directory.DeleteFiles(Program.Options.RemoveFiles);

            if (Program.Options.RemoveSourceControl)
            {
                RemoveSourceControlBindings.Clean(directory);
            }
        }
コード例 #3
0
 internal static void Clean(string directory)
 {
     var scCleaner = new RemoveSourceControlBindings { ProcessDirectory = directory };
     scCleaner.Execute();
 }