-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use -bin-
version suffix to convey binary version to sbt in nightly/PR-validation-snapshot builds
#252
Comments
Switching this removes the need for instructing to run |
this is an ongoing source of pain for Scala community build work |
You'll find |
@lrytz Are you taking care of the checklist here? |
I updated http://stackoverflow.com/a/40622879/86485 and notified scala/contributors |
See also typelevel/scala#135 ... to support compiler plugins you'll want to use |
Is there any documentation / discussion on I don't see how it makes sense to use it for compiler plugins. If I build a compiler plugin with a Scala version |
Sorry, those release notes should've linked to the PR that introduced the feature: sbt/sbt#2757, and also the docs should've included a description.. The motivating use case is Typelevel Scala. Typelevel would like to be able to make additional releases - e.g a release between 2.12.1 and 2.12.2, At the same time they would like to make switching to (or testing out) Typelevel Scala not require modifying the build files. This is possible by sbt because you can simply create new files (git ignored), e.g local.sbt. These two requirements break down when it comes to compiler plugins as historically they've been defined as: compilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.full) And that means switch to But switching that to: compilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.patch) means that the |
Anyways, WRT this issue I see you've knocked out all the checkpoints, so I guess we can close it now? |
Thanks, Dale! Would be nice to add some of that to http://www.scala-sbt.org/0.13/docs/Cross-Build.html. |
As suggested by @dwijnand. Sbt logic: https://github.com/sbt/sbt/blob/v0.13.12/util/cross/src/main/input_sources/CrossVersionUtil.scala#L42
I've started looking for spots that need to be updated (using
git grep nightly
-- need to do same for PR validation sha versioning)The text was updated successfully, but these errors were encountered: