sbt/scripts/generate-launcher.sh

21 lines
412 B
Bash
Raw Normal View History

2015-11-29 23:25:37 +01:00
#!/bin/bash
2018-03-14 12:29:36 +01:00
VERSION=1.1.0-M1
2015-12-31 01:12:55 +01:00
CACHE_VERSION=v1
2016-02-12 11:55:45 +01:00
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
if [ ! -f "$SBTPACK_LAUNCHER" ]; then
sbt ++2.12.4 "project cli" pack
2016-02-12 11:55:45 +01:00
fi
"$SBTPACK_LAUNCHER" bootstrap \
2016-08-06 22:28:51 +02:00
--intransitive io.get-coursier::coursier-cli:$VERSION \
--classifier standalone \
-J "-noverify" \
2016-01-07 20:14:11 +01:00
--no-default \
-r central \
2016-02-12 11:55:45 +01:00
-r sonatype:releases \
2015-11-29 23:25:37 +01:00
-f -o coursier \
"$@"