Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 2b0c2ff

Browse files
author
Michal S
committed
Exclude more files from mlc clean
1 parent a6d6ee2 commit 2b0c2ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/operations/clean.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ pub fn clean(verbose: bool, force: bool) {
1212
// Remove mlc.toml and .git from output
1313
dirs.retain(|x| *x != "./mlc.toml" && *x != ".\\mlc.toml");
1414
dirs.retain(|x| *x != "./.git" && *x != ".\\.git");
15+
dirs.retain(|x| *x != "./.gitignore" && *x != ".\\.gitignore");
16+
dirs.retain(|x| *x != "./.gitmodules" && *x != ".\\.gitmodules");
17+
dirs.retain(|x| *x != "./README.md" && *x != ".\\README.md");
1518

1619
let mut unclean_dirs = vec![];
1720

0 commit comments

Comments
 (0)