mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 00:41:32 +02:00
scripted: test to support launching next sbt version
disabled because there is no next version to test yet not sure how to make this handled automatically or to avoid forgetting to reenable it
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
scriptedSettings
|
||||
|
||||
scriptedSbt <<= sbtVersion
|
||||
|
||||
sbtPlugin := true
|
||||
|
||||
sbtVersion in Global := "0.13.0-Beta2"
|
||||
|
||||
scalaVersion in Global := "2.10.2-RC2"
|
||||
|
||||
offline := true
|
||||
@@ -0,0 +1 @@
|
||||
object A
|
||||
@@ -0,0 +1 @@
|
||||
Fail
|
||||
@@ -0,0 +1,7 @@
|
||||
# This tests that this sbt scripted plugin can launch the next one
|
||||
# It is currently disabled because there is no next plugin version
|
||||
|
||||
$ copy-file changes/A.scala src/sbt-test/a/b/A.scala
|
||||
> scripted
|
||||
$ copy-file changes/Fail.scala src/sbt-test/a/b/Fail.scala
|
||||
-> scripted
|
||||
@@ -0,0 +1,5 @@
|
||||
libraryDependencies <+= sbtVersion { sbtv =>
|
||||
"org.scala-sbt" % "scripted-plugin" % sbtv
|
||||
}
|
||||
|
||||
offline := true
|
||||
@@ -0,0 +1 @@
|
||||
> compile
|
||||
Reference in New Issue
Block a user