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

fix: forward srcs, deps and visibility of dummy_bzl_library to the filegroup when publishing #2430

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

mattem
Copy link
Collaborator

@mattem mattem commented Jan 29, 2021

Turns the name-only filegroup into a filegroup with sources in the published output. Visibility and deps are also forwarded.
This would allow downstream rule authors to depend on the bzl targets in srcs attributes of bzl_library, without imposing skylib on all users of rules_nodejs.

Slack thread context: https://bazelbuild.slack.com/archives/CA31HN1T3/p1611882849199500

@google-cla google-cla bot added the cla: yes label Jan 29, 2021
@alexeagle alexeagle merged commit 0466084 into bazel-contrib:stable Jan 29, 2021
@mattem mattem deleted the fix/dummy_bzl branch January 29, 2021 22:06
Kernald added a commit to Kernald/rules_sass that referenced this pull request Aug 19, 2021
bazel-contrib/rules_nodejs#2430 is needed to access
rules_nodejs's bzl_library target, which was first included after their
3.0.0 release.
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.

2 participants