diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2022-05-09 08:50:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 11:50:34 -0400 |
commit | 4dc6c73c5a9203c5a8a89ce2161feca542329812 (patch) | |
tree | 971467dc62dfc2357560f3f9431e34401a32514d | |
parent | 36d03b410181fbaca590a0b6601c148bd921d73f (diff) |
ignore/types: improve Bazel globs
MODULE.bazel is a new file, and WORKSPACE.bazel was always supported
similar to BUILD.bazel vs BUILD.
PR #2203
-rw-r--r-- | crates/ignore/src/default_types.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 0cd9b12d..47da7f71 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -23,7 +23,8 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("avro", &["*.avdl", "*.avpr", "*.avsc"]), ("awk", &["*.awk"]), ("bazel", &[ - "*.bazel", "*.bzl", "*.BUILD", "*.bazelrc", "BUILD", "WORKSPACE", + "*.bazel", "*.bzl", "*.BUILD", "*.bazelrc", "BUILD", "MODULE.bazel", + "WORKSPACE", "WORKSPACE.bazel", ]), ("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]), ("brotli", &["*.br"]), |