Summary
Cleans the specified directories.
Cleaning a directory will remove all its content but not the directory itself.
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Clean")]
public static void CleanDirectories(this ICakeContext context, IEnumerable<string> directories, CleanDirectorySettings settings)
Examples
var directoriesToClean = new []{
"./src/Cake/obj",
"./src/Cake.Common/obj"
};
CleanDirectories(directoriesToClean, new CleanDirectorySettings() { Force = true });
Attributes
Parameters
Return Value