Skip to content

Commit

Permalink
build: ignore golang vendor paths
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Cressey <[email protected]>
  • Loading branch information
bcressey committed Sep 23, 2019
1 parent 93e3ce8 commit a42abc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/build
*.tar.*
**/target/
**/vendor/
/.cargo
2 changes: 1 addition & 1 deletion tools/buildsys/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl ProjectInfo {
entry
.file_name()
.to_str()
.map(|s| s.starts_with('.') || s == "target")
.map(|s| s.starts_with('.') || s == "target" || s == "vendor")
.unwrap_or(false)
}
}

0 comments on commit a42abc5

Please sign in to comment.