Fix binary-plugin scripted test so it can run more than once.

This commit is contained in:
Josh Suereth 2014-02-21 09:26:32 -05:00
parent 2ee2576cb9
commit 0e337b8cbd
3 changed files with 7 additions and 5 deletions

View File

@ -1 +1 @@
addSbtPlugin("org.example" % "demo-plugin" % "3.4")
addSbtPlugin("org.example" % "demo-plugin" % "3.4-SNAPSHOT")

View File

@ -1,7 +1,7 @@
organization in ThisBuild := "org.example"
version in ThisBuild := "3.4"
// We have to use snapshot because this is publishing to our local ivy cache instead of
// an integration cache, so we're in danger land.
version in ThisBuild := "3.4-SNAPSHOT"
lazy val define = project
lazy val use = project

View File

@ -1,10 +1,12 @@
# First we define the plugin project and publish it
$ copy-file changes/define/build.sbt build.sbt
$ copy-file changes/define/A.scala A.scala
# reload implied
> publishLocal
# Now we remove the source code and define a project which uses the build.
$ delete build.sbt A.scala
$ copy-file changes/use/plugins.sbt project/plugins.sbt
> reload
> extra/check
> check