mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 17:38:02 +02:00
Tweak bootstrap test
This commit is contained in:
+4
-2
@@ -111,8 +111,10 @@ publish() {
|
||||
testBootstrap() {
|
||||
if [ "$SCALA_VERSION" = 2.12 ]; then
|
||||
sbt scalaFromEnv "project cli" pack
|
||||
cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo:1.0.0
|
||||
if [ "$(./cs-echo foo)" != foo ]; then
|
||||
|
||||
cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo:1.0.1
|
||||
local OUT="$(./cs-echo foo)"
|
||||
if [ "$OUT" != foo ]; then
|
||||
echo "Error: unexpected output from bootstrapped echo command." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user