mirror of https://github.com/sbt/sbt.git
Move typelevel-related things to new extra module
This commit is contained in:
parent
690b0b3215
commit
e76f6170f1
|
|
@ -24,8 +24,8 @@ install:
|
||||||
build_script:
|
build_script:
|
||||||
- sbt ++2.11.11 clean compile coreJVM/publishLocal http-server/publishLocal
|
- sbt ++2.11.11 clean compile coreJVM/publishLocal http-server/publishLocal
|
||||||
- sbt ++2.10.6 clean compile
|
- sbt ++2.10.6 clean compile
|
||||||
- sbt ++2.12.1 coreJVM/publishLocal cache/publishLocal # to make the scripted sbt 1.0 tests happy
|
- sbt ++2.12.1 coreJVM/publishLocal cache/publishLocal extra/publishLocal # to make the scripted sbt 1.0 tests happy
|
||||||
- sbt ++2.10.6 coreJVM/publishLocal cache/publishLocal # to make the scripted sbt 0.13 tests happy
|
- sbt ++2.10.6 coreJVM/publishLocal cache/publishLocal extra/publishLocal # to make the scripted sbt 0.13 tests happy
|
||||||
test_script:
|
test_script:
|
||||||
- ps: Start-Job -filepath .\scripts\start-it-auth-server.ps1 -ArgumentList $pwd
|
- ps: Start-Job -filepath .\scripts\start-it-auth-server.ps1 -ArgumentList $pwd
|
||||||
- ps: Start-Sleep -s 15 # wait for the first server to have downloaded its dependencies
|
- ps: Start-Sleep -s 15 # wait for the first server to have downloaded its dependencies
|
||||||
|
|
|
||||||
13
build.sbt
13
build.sbt
|
|
@ -88,8 +88,15 @@ lazy val bootstrap = project
|
||||||
renameMainJar("bootstrap.jar")
|
renameMainJar("bootstrap.jar")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
lazy val extra = project
|
||||||
|
.dependsOn(coreJvm)
|
||||||
|
.settings(
|
||||||
|
shared,
|
||||||
|
coursierPrefix
|
||||||
|
)
|
||||||
|
|
||||||
lazy val cli = project
|
lazy val cli = project
|
||||||
.dependsOn(coreJvm, cache)
|
.dependsOn(coreJvm, cache, extra)
|
||||||
.settings(
|
.settings(
|
||||||
shared,
|
shared,
|
||||||
dontPublishIn("2.10", "2.12"),
|
dontPublishIn("2.10", "2.12"),
|
||||||
|
|
@ -166,7 +173,7 @@ lazy val doc = project
|
||||||
|
|
||||||
// Don't try to compile that if you're not in 2.10
|
// Don't try to compile that if you're not in 2.10
|
||||||
lazy val `sbt-coursier` = project
|
lazy val `sbt-coursier` = project
|
||||||
.dependsOn(coreJvm, cache)
|
.dependsOn(coreJvm, cache, extra)
|
||||||
.settings(plugin)
|
.settings(plugin)
|
||||||
|
|
||||||
// Don't try to compile that if you're not in 2.10
|
// Don't try to compile that if you're not in 2.10
|
||||||
|
|
@ -224,6 +231,7 @@ lazy val jvm = project
|
||||||
testsJvm,
|
testsJvm,
|
||||||
cache,
|
cache,
|
||||||
bootstrap,
|
bootstrap,
|
||||||
|
extra,
|
||||||
cli,
|
cli,
|
||||||
`sbt-coursier`,
|
`sbt-coursier`,
|
||||||
`sbt-shading`,
|
`sbt-shading`,
|
||||||
|
|
@ -262,6 +270,7 @@ lazy val coursier = project
|
||||||
testsJs,
|
testsJs,
|
||||||
cache,
|
cache,
|
||||||
bootstrap,
|
bootstrap,
|
||||||
|
extra,
|
||||||
cli,
|
cli,
|
||||||
`sbt-coursier`,
|
`sbt-coursier`,
|
||||||
`sbt-shading`,
|
`sbt-shading`,
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import java.util.jar.{ Manifest => JManifest }
|
||||||
import java.util.concurrent.Executors
|
import java.util.concurrent.Executors
|
||||||
|
|
||||||
import coursier.cli.scaladex.Scaladex
|
import coursier.cli.scaladex.Scaladex
|
||||||
import coursier.cli.typelevel.Typelevel
|
import coursier.extra.Typelevel
|
||||||
import coursier.ivy.IvyRepository
|
import coursier.ivy.IvyRepository
|
||||||
import coursier.util.{Print, Parse}
|
import coursier.util.{Print, Parse}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package coursier.cli.typelevel
|
package coursier.extra
|
||||||
|
|
||||||
import coursier.{Dependency, Module}
|
import coursier.{Dependency, Module}
|
||||||
|
|
||||||
|
|
@ -75,14 +75,14 @@ is212() {
|
||||||
}
|
}
|
||||||
|
|
||||||
runSbtCoursierTests() {
|
runSbtCoursierTests() {
|
||||||
sbt ++$SCALA_VERSION coreJVM/publishLocal cache/publishLocal "sbt-coursier/scripted sbt-coursier/*"
|
sbt ++$SCALA_VERSION coreJVM/publishLocal cache/publishLocal extra/publishLocal "sbt-coursier/scripted sbt-coursier/*"
|
||||||
if [ "$SCALA_VERSION" = "2.10" ]; then
|
if [ "$SCALA_VERSION" = "2.10" ]; then
|
||||||
sbt ++$SCALA_VERSION "sbt-coursier/scripted sbt-coursier-0.13/*"
|
sbt ++$SCALA_VERSION "sbt-coursier/scripted sbt-coursier-0.13/*"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
runSbtShadingTests() {
|
runSbtShadingTests() {
|
||||||
sbt ++$SCALA_VERSION coreJVM/publishLocal cache/publishLocal sbt-coursier/publishLocal "sbt-shading/scripted sbt-shading/*"
|
sbt ++$SCALA_VERSION coreJVM/publishLocal cache/publishLocal extra/publishLocal sbt-coursier/publishLocal "sbt-shading/scripted sbt-shading/*"
|
||||||
if [ "$SCALA_VERSION" = "2.10" ]; then
|
if [ "$SCALA_VERSION" = "2.10" ]; then
|
||||||
sbt ++$SCALA_VERSION "sbt-shading/scripted sbt-shading-0.13/*"
|
sbt ++$SCALA_VERSION "sbt-shading/scripted sbt-shading-0.13/*"
|
||||||
fi
|
fi
|
||||||
|
|
@ -128,7 +128,7 @@ testLauncherJava6() {
|
||||||
}
|
}
|
||||||
|
|
||||||
testSbtCoursierJava6() {
|
testSbtCoursierJava6() {
|
||||||
sbt ++${SCALA_VERSION} coreJVM/publishLocal cache/publishLocal sbt-coursier/publishLocal
|
sbt ++${SCALA_VERSION} coreJVM/publishLocal cache/publishLocal extra/publishLocal sbt-coursier/publishLocal
|
||||||
|
|
||||||
git clone https://github.com/alexarchambault/scalacheck-shapeless.git
|
git clone https://github.com/alexarchambault/scalacheck-shapeless.git
|
||||||
cd scalacheck-shapeless
|
cd scalacheck-shapeless
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue