mirror of https://github.com/sbt/sbt.git
Add test repository to publish to.
This commit is contained in:
parent
571df2ac79
commit
a742f9c8a2
|
|
@ -20,6 +20,9 @@ class SbtProject(info: ProjectInfo) extends DefaultProject(info) //with test.Sbt
|
||||||
Resolver.url("scala-nightly") artifacts("http://scala-tools.org/repo-snapshots/[organization]/[module]/2.8.0-SNAPSHOT/[artifact]-[revision].[ext]") mavenStyle()
|
Resolver.url("scala-nightly") artifacts("http://scala-tools.org/repo-snapshots/[organization]/[module]/2.8.0-SNAPSHOT/[artifact]-[revision].[ext]") mavenStyle()
|
||||||
val nightlyScala = ModuleConfiguration("org.scala-lang", "*", "2.8.0-.*", specificSnapshotRepo)
|
val nightlyScala = ModuleConfiguration("org.scala-lang", "*", "2.8.0-.*", specificSnapshotRepo)
|
||||||
|
|
||||||
|
override def managedStyle = ManagedStyle.Ivy
|
||||||
|
val publishTo = Resolver.file("test-repo", (Path.userHome / ".ivy2" / "test").asFile)
|
||||||
|
|
||||||
override def compileOptions = Nil
|
override def compileOptions = Nil
|
||||||
|
|
||||||
def scalaVersionString = ScalaVersion.current.getOrElse(scalaVersion.value)
|
def scalaVersionString = ScalaVersion.current.getOrElse(scalaVersion.value)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue