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:
Mark Harrah 2013-06-10 11:58:39 -04:00
parent 1c8d3cd9c8
commit 73c771eed8
6 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1 @@
object A

View File

@ -0,0 +1 @@
Fail

View File

@ -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

View File

@ -0,0 +1,5 @@
libraryDependencies <+= sbtVersion { sbtv =>
"org.scala-sbt" % "scripted-plugin" % sbtv
}
offline := true

View File

@ -0,0 +1 @@
> compile