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

Commit

Permalink
Exclude more files from mlc clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal S committed Sep 27, 2022
1 parent a6d6ee2 commit 2b0c2ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/operations/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ pub fn clean(verbose: bool, force: bool) {
// Remove mlc.toml and .git from output
dirs.retain(|x| *x != "./mlc.toml" && *x != ".\\mlc.toml");
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![];

Expand Down

0 comments on commit 2b0c2ff

Please sign in to comment.