Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gazelle: make exclude directive work in subdirectories #1107

Merged
merged 2 commits into from
Dec 6, 2017

Conversation

jayconrod
Copy link
Contributor

'# gazelle:exclude' directives can now contain paths, not just file
and directory base names. For example, if you add the directive
'# gazelle:exclude vendor/example.com/foo/testdata' in your root build
file, it will be as if the directive '# gazelle:exclude testdata' were
written in vendor/example.com/foo/BUILD.bazel.

Fixes #415

'# gazelle:exclude' directives can now contain paths, not just file
and directory base names. For example, if you add the directive
'# gazelle:exclude vendor/example.com/foo/testdata' in your root build
file, it will be as if the directive '# gazelle:exclude testdata' were
written in vendor/example.com/foo/BUILD.bazel.

Fixes bazel-contrib#415
@jayconrod jayconrod merged commit 7426cee into bazel-contrib:master Dec 6, 2017
@jayconrod jayconrod deleted the gazelle-exclude-subdirs branch December 6, 2017 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants