From bb16ba6311c13369e85b7246380acc9960b52833 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sat, 23 Jun 2018 20:25:43 +0100 Subject: [PATCH] ignore/types: add Bazel `BUILD`, `WORKSPACE` are mentioned here: https://docs.bazel.build/versions/master/build-ref.html `*.bzl` is mentioned here: https://docs.bazel.build/versions/master/skylark/concepts.html PR #960 --- ignore/src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 6fa2c5c..3f96f8e 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -104,6 +104,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("asm", &["*.asm", "*.s", "*.S"]), ("avro", &["*.avdl", "*.avpr", "*.avsc"]), ("awk", &["*.awk"]), + ("bazel", &["*.bzl", "WORKSPACE", "BUILD"]), ("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]), ("bzip2", &["*.bz2"]), ("c", &["*.c", "*.h", "*.H"]),