Skip to content

Fix warnings in sbt build #2022

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

Merged
merged 1 commit into from
Feb 22, 2017
Merged

Conversation

smarter
Copy link
Member

@smarter smarter commented Feb 22, 2017

No description provided.

@smarter smarter requested a review from felixmulder February 22, 2017 16:03
@felixmulder
Copy link
Contributor

@smarter - seems like the partest command doesn't understand the parameters after these changes. Might need to make it into a key like the repl command?

val scalaLib = attList
.map(_.data.getAbsolutePath)
.find(_.contains("scala-library"))
.toList.mkString(":")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are dropping the dependency of this task on packageAll here. I guess this was not intentional. You should add

val _ = packageAll.value

@@ -327,7 +325,7 @@ object DottyBuild extends Build {
partestLockFile.createNewFile
partestLockFile.deleteOnExit
},
runPartestRunner <<= Def.inputTaskDyn {
runPartestRunner := Def.inputTaskDyn {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you change this, you also need to add .value after the closing } corresponding to the { on this line. This could explain the problem that you observe.

@felixmulder
Copy link
Contributor

haha @smarter - you beat me to it 😆 thanks @sjrd!

@felixmulder
Copy link
Contributor

now we just need to migrate to build.sbt...

@smarter
Copy link
Member Author

smarter commented Feb 22, 2017

Thanks @sjrd, @felixmulder , should be good know.

@felixmulder felixmulder merged commit a0f47a0 into scala:master Feb 22, 2017
@felixmulder felixmulder deleted the fix/sbt-warnings branch February 22, 2017 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants