mirror of https://github.com/sbt/sbt.git
Tweak bootstrap test
This commit is contained in:
parent
7b34e7307c
commit
e37fb65fba
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue