mirror of https://github.com/sbt/sbt.git
Workaround issue with JAR list in pack directories
With just `sbt cli/pack`, it seems that the JARs of the other projects also land in the pack directory. A `sbt "project cli" pack` works fine though.
This commit is contained in:
parent
5f5b127563
commit
3636c58d07
|
|
@ -6,7 +6,7 @@ CACHE_VERSION=v1
|
|||
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
|
||||
|
||||
if [ ! -f "$SBTPACK_LAUNCHER" ]; then
|
||||
sbt ++2.11.11 cli/pack
|
||||
sbt ++2.11.11 "project cli" pack
|
||||
fi
|
||||
|
||||
"$SBTPACK_LAUNCHER" bootstrap \
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ checkBinaryCompatibility() {
|
|||
}
|
||||
|
||||
testLauncherJava6() {
|
||||
sbt ++${SCALA_VERSION} cli/pack
|
||||
sbt ++${SCALA_VERSION} "project cli" pack
|
||||
|
||||
# Via docker, getting errors like
|
||||
# standard_init_linux.go:178: exec user process caused "exec format error"
|
||||
|
|
@ -204,7 +204,7 @@ publish() {
|
|||
|
||||
testBootstrap() {
|
||||
if is211; then
|
||||
sbt ++${SCALA_VERSION} echo/publishLocal cli/pack
|
||||
sbt ++${SCALA_VERSION} echo/publishLocal "project cli" pack
|
||||
cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo:1.0.0-SNAPSHOT
|
||||
if [ "$(./cs-echo foo)" != foo ]; then
|
||||
echo "Error: unexpected output from bootstrapped echo command." 1>&2
|
||||
|
|
@ -215,7 +215,7 @@ testBootstrap() {
|
|||
|
||||
testNativeBootstrap() {
|
||||
if is211; then
|
||||
sbt ++${SCALA_VERSION} cli/pack
|
||||
sbt ++${SCALA_VERSION} "project cli" pack
|
||||
cli/target/pack/bin/coursier bootstrap -S -o native-test io.get-coursier.scala-native::sandbox_native0.3:0.3.0-coursier-1
|
||||
if [ "$(./native-test)" != "Hello, World!" ]; then
|
||||
echo "Error: unexpected output from native test bootstrap." 1>&2
|
||||
|
|
|
|||
Loading…
Reference in New Issue