Add generate-launcher script

This commit is contained in:
Alexandre Archambault 2015-11-29 23:25:37 +01:00
parent 0f15f7fca3
commit 22f2885861
1 changed files with 10 additions and 0 deletions

10
project/generate-launcher.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
"$(dirname "$0")/../cli/target/pack/bin/coursier" bootstrap \
com.github.alexarchambault:coursier-cli_2.11:0.1.0-SNAPSHOT \
-D "\$(cd \$(dirname \"\$0\"); pwd)/.coursier/0.1.0-SNAPSHOT-0f15f7f/bootstrap" \
-r https://repo1.maven.org/maven2 -r https://oss.sonatype.org/content/repositories/snapshots \
-b \
-f -o coursier \
-M coursier.cli.Coursier \
-e COURSIER_CACHE="\$(cd \$(dirname \"\$0\"); pwd)/.coursier/0.1.0-SNAPSHOT-0f15f7f"