mirror of https://github.com/sbt/sbt.git
Fix binary-plugin scripted test so it can run more than once.
This commit is contained in:
parent
2ee2576cb9
commit
0e337b8cbd
|
|
@ -1 +1 @@
|
|||
addSbtPlugin("org.example" % "demo-plugin" % "3.4")
|
||||
addSbtPlugin("org.example" % "demo-plugin" % "3.4-SNAPSHOT")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue