diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index 015106a06..71f4ee7a7 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -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 \ diff --git a/scripts/travis.sh b/scripts/travis.sh index 22ceaa95b..d9bb8379b 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -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