-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add scala tests to CI #872
Add scala tests to CI #872
Conversation
Change-Id: Ib8731522c94f391b855e69198ca1f2e04fd6ce35
Change-Id: I4ad260152731bc7bd9422e509798b838dbae3343
…d_scala_tests_to_ci
@damienmg is anything needed for this? |
LGTM I will merge it tomorrow Thanks again! |
if hasattr(target, "java"): | ||
runtime_jars += target.java.transitive_runtime_deps | ||
#see JavaSkylarkApiProvider.java, this is just the compile-time deps | ||
compile_jars += target.java.transitive_deps | ||
found = True | ||
if not found: | ||
#support http_file pointed at a jar. http_jar uses ijar, which breaks scala macros |
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.
Please change to "# support" (1 space between # and the comment).
Something is broken in bazel 0.1.5 with this. Running the tests I get all kinds of errors related to other skylark builds:
Why should errors in other files break this test? For instance: does have 'build_file_content' and not a build_file. Is that wrong now? |
Change-Id: I700f2670782be5880a7cecd90a8df4e5197c5540
I guess actually it is the opposite, the code now exercises features not in 0.1.5. Okay, I addressed the comments and also fixed another issue. I made this more similar to the java rule. I fixed an issue that compilation deps were transitive (unlike java which follows a better practice of requiring declarations). One issue: I don't see how to access This code also builds a small repo of scala code I have. |
Change-Id: Ia4caa7ab704cc7a5544582c6b70c7d257c26f6d8
Change-Id: If286a9718e036d2bd555baf78600e9208ba5a990
FYI, this has been merged. Already answered on the ML for exports thing. And for the On Fri, Feb 12, 2016 at 8:34 PM Kristina notifications@github.com wrote:
|
Thanks! |
-- Change-Id: If286a9718e036d2bd555baf78600e9208ba5a990 Reviewed-on: #872 MOS_MIGRATED_REVID=114563576
This PR is now live at HEAD! |
@damienmg Thank you, sir! |
-- Change-Id: If286a9718e036d2bd555baf78600e9208ba5a990 Reviewed-on: bazelbuild/bazel#872 MOS_MIGRATED_REVID=114563576
This needs to be after #862