-
Notifications
You must be signed in to change notification settings - Fork 772
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
Make the bazel rules work with current rules_closure. #368
Conversation
@Yannic Please review, thanks! |
There are test failures:
|
Forgot to update rules_closure in WORKSPACE. Tests should pass now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix, (mostly) LGTM.
Could we remove _ClosureWorker
and _closure_library_base
from attrs and replace it with CLOSURE_JS_TOOLCHAIN_ATTRS
like it's done in closure_js_library
?
https://github.com/bazelbuild/rules_closure/blob/master/closure/compiler/closure_js_library.bzl#L431
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, still some test failures:
|
Cannot reproduce this with Bazel |
Looks like the kokoro machine is having bazel version |
Then it's clear why the tests fail. The There is more than one solution to resolve this:
|
#373 should help. |
@factuno-db We think that #373 will fix the failing tests. Please rebase when the other PR is merged so we can run the tests again, thanks! |
Yeah, I saw it. Thanks for taking care of this! |
@factuno-db #373 is merged. Please rebase so we can run the tests again. Thanks! |
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contributions!
This commit introduced a helper function for creating
closure_js_library
.