Skip to content

Commit

Permalink
Add all submodules to the list of directories tidy skips
Browse files Browse the repository at this point in the history
I ran git config --file .gitmodules --name-only --get-regexp path
and added all submodules that were not already in the list to it.
  • Loading branch information
est31 committed Sep 19, 2022
1 parent 503e19d commit cd3979d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tools/tidy/src/walk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ pub fn filter_dirs(path: &Path) -> bool {
"src/tools/rust-installer",
"src/tools/rustfmt",
"src/doc/book",
"src/doc/edition-guide",
"src/doc/embedded-book",
"src/doc/nomicon",
"src/doc/rust-by-example",
"src/doc/rustc-dev-guide",
"src/doc/reference",
// Filter RLS output directories
"target/rls",
"src/bootstrap/target",
Expand Down

0 comments on commit cd3979d

Please sign in to comment.