diff options
author | Brandon Adams <emidln@gmail.com> | 2020-10-23 11:24:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 12:24:30 -0400 |
commit | ba3f9673ad2dcf42a837f3eb00c4927a6e66b071 (patch) | |
tree | 30119a6a8e82ddb6a15fa9c48fa44d6513b7e0f1 | |
parent | c777e2cd5766128e11f7fd5dffd79e1ba8a753fb (diff) |
ignore/types: generalize bazel type a bit
Bazel supports `BUILD.bazel` as well as `WORKSPACE.bazel`. In
addition, it is common to ship BUILD/WORKSPACE templates for
external repositories suffixed with .bazel for easier tool
recognition.
Co-authored-by: Brandon Adams <brandon.adams@imc.com>
PR #1716
-rw-r--r-- | crates/ignore/src/default_types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 038e006b..36a75a06 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -21,7 +21,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]), ("avro", &["*.avdl", "*.avpr", "*.avsc"]), ("awk", &["*.awk"]), - ("bazel", &["*.bzl", "WORKSPACE", "BUILD", "BUILD.bazel"]), + ("bazel", &["*.bazel", "*.bzl", "BUILD", "WORKSPACE"]), ("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]), ("brotli", &["*.br"]), ("buildstream", &["*.bst"]), |