Skip to content

Commit

Permalink
Recognise bzlmod files in checker itself
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnrt committed Jul 22, 2024
1 parent 1a3f03c commit 5eb16cf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion licence-checker/licence-checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,17 @@ def full_line_parts(self, licence_line):
([".proto"], SLASH_SLASH), # Protobuf
# Software Build Systems
(["meson.build", "toolchain.txt", "meson_options.txt"], HASH), # Meson
(["WORKSPACE", "BUILD", "BUILD.bazel", ".bzl"], HASH), # Bazel
(
[
"WORKSPACE",
"WORKSPACE.bzlmod",
"MODULE.bazel",
"BUILD",
"BUILD.bazel",
".bzl",
],
HASH,
), # Bazel
# General Tooling
([".py"], HASH), # Python
([".sh"], HASH), # Shell Scripts
Expand Down

0 comments on commit 5eb16cf

Please sign in to comment.