mirror of https://github.com/sbt/sbt.git
Previous test case only seemed to reproduce the problem due to resolver ordering. Closes #805 for now.
This commit is contained in:
parent
277813dd0a
commit
541375cde6
|
|
@ -1,6 +1,6 @@
|
|||
addSbtPlugin("org.example" % "def" % "latest.integration")
|
||||
|
||||
resolvers ++= {
|
||||
def r(tpe: String) = Resolver.file(s"local-$tpe", baseDirectory.value / ".." / tpe)(Resolver.ivyStylePatterns)
|
||||
r("stable") :: r("snapshot") :: Nil
|
||||
def r(tpe: String) = Resolver.file(s"local-$tpe", baseDirectory.value / ".." / tpe)(Resolver.ivyStylePatterns)
|
||||
r("snapshot") :: r("stable") :: Nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ $ mkdir stable snapshot
|
|||
$ copy-file changes/def.sbt def.sbt
|
||||
$ touch make-stable
|
||||
> reload
|
||||
> show stable
|
||||
> publish
|
||||
|
||||
# resolve that release for use as a plugin
|
||||
|
|
@ -27,6 +28,7 @@ $ copy-file changes/def.sbt def.sbt
|
|||
$ copy-file changes/DefPlugin.scala DefPlugin.scala
|
||||
|
||||
> reload
|
||||
> show stable
|
||||
> publish
|
||||
|
||||
# resolve the latest.integration release, which should
|
||||
Loading…
Reference in New Issue