-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add scala scala submodule. #2323
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
Conversation
LGTM after tests pass |
I would call it scala-library, not scala-scala |
@@ -29,6 +29,7 @@ class CompilationTests extends ParallelTesting { | |||
|
|||
@Test def compilePos: Unit = { | |||
compileList("compileStdLib", StdLibSources.whitelisted, scala2Mode.and("-migration", "-Yno-inline")) + | |||
compileDir("../collection-strawman/src/main", defaultOptions) + |
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.
maybe make it a separate test?
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.
We would loose the parallelism.
project/Build.scala
Outdated
val scalaScala = new File("scala-scala") | ||
if (!scalaScala.exists()) { | ||
val submodules = List(new File("scala-backend"), new File("scala-scala"), new File("collection-strawman")) | ||
if (!submodules.forall(_.exists)) { | ||
println( |
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.
You shouldn't use println in the sbt build, see http://www.scala-sbt.org/0.13/docs/Howto-Logging.html#Log+messages+in+a+task for the proper way to do it. This should probably be logged at the error level.
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.
This is not a task.
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.
But could it be one?
Please go through the documentation |
6897c96
to
b3f9a8e
Compare
I noticed that if I set the |
@nicolasstucki You probably forgot to do |
b3f9a8e
to
adb36ee
Compare
@smarter indeed at first I forgot to do All the tests on the |
@DarkDimius, could you check if it still LGTY. If this is merged it would simplify a bit the call graph branch tests. |
d108479
to
04eee0d
Compare
bb192de
to
c0779ea
Compare
@smarter, do you agree with the changes in the last commit? |
c0779ea
to
5420a03
Compare
LGTM from my side, didn't check sbt though. |
No description provided.