Skip to content

Update bazel to match only extension or whole name#3

Open
TheButlah wants to merge 1 commit into
FelixSeptem:masterfrom
TheButlah:patch-1
Open

Update bazel to match only extension or whole name#3
TheButlah wants to merge 1 commit into
FelixSeptem:masterfrom
TheButlah:patch-1

Conversation

@TheButlah

@TheButlah TheButlah commented Apr 11, 2020

Copy link
Copy Markdown

The hook was originally matching all files in the repository as long as they had BUILD or BUILD.bazel in them. This commit ensures that, for example, BUILD.bazel and whatever/BUILD.bazel match, but not whateverBUILD.bazelasdf. It also adds support for whatever.BUILD files.

See #2

The hook was originally matching all files in the repository as long as they had `BUILD` or `BUILD.bazel` in them. This meant that they actually overrode the `files` setting in the user's repository. This commit ensures that, for example, `BUILD.bazel` and `whatever/BUILD.bazel` match, but not `whateverBUILD.bazelasdf`. It also adds support for `whatever.BUILD` files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant