mirror of https://github.com/sbt/sbt.git
Update generate-launcher script
This commit is contained in:
parent
5e65816544
commit
1e4168e872
|
|
@ -1,12 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.0.0-M5
|
||||
VERSION=1.0.0-M7
|
||||
CACHE_VERSION=v1
|
||||
|
||||
"$(dirname "$0")/../cli/target/pack/bin/coursier" bootstrap \
|
||||
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
|
||||
|
||||
if [ ! -f "$SBTPACK_LAUNCHER" ]; then
|
||||
sbt cli/pack
|
||||
fi
|
||||
|
||||
"$SBTPACK_LAUNCHER" bootstrap \
|
||||
com.github.alexarchambault:coursier-cli_2.11:$VERSION \
|
||||
--no-default \
|
||||
-r central \
|
||||
-r sonatype:releases \
|
||||
-D "\${user.home}/.coursier/bootstrap/$VERSION" \
|
||||
-f -o coursier \
|
||||
-M coursier.cli.Coursier \
|
||||
|
|
|
|||
Loading…
Reference in New Issue