Exclude more files from `mlc clean`

main
Michal S 2 years ago
parent a6d6ee2d8d
commit 2b0c2ff1f9

@ -12,6 +12,9 @@ pub fn clean(verbose: bool, force: bool) {
// Remove mlc.toml and .git from output // Remove mlc.toml and .git from output
dirs.retain(|x| *x != "./mlc.toml" && *x != ".\\mlc.toml"); dirs.retain(|x| *x != "./mlc.toml" && *x != ".\\mlc.toml");
dirs.retain(|x| *x != "./.git" && *x != ".\\.git"); dirs.retain(|x| *x != "./.git" && *x != ".\\.git");
dirs.retain(|x| *x != "./.gitignore" && *x != ".\\.gitignore");
dirs.retain(|x| *x != "./.gitmodules" && *x != ".\\.gitmodules");
dirs.retain(|x| *x != "./README.md" && *x != ".\\README.md");
let mut unclean_dirs = vec![]; let mut unclean_dirs = vec![];

Loading…
Cancel
Save