mirror of
https://github.com/sbt/sbt.git
synced 2026-10-07 10:33:30 +02:00
Remove standalone launcher from the repository
This commit is contained in:
@@ -606,6 +606,10 @@ Set the `COURSIER_NO_TERM` environment variable to `1`. This disables the
|
||||
progress bar message, and prints simple `Downloading URL` / `Downloaded URL`
|
||||
instead.
|
||||
|
||||
#### On first launch, the coursier launcher downloads a 1.5+ MB JAR. Is it possible to have a standalone launcher, that would not need to download things on first launch?
|
||||
|
||||
Run `project/generate-launcher.sh -s` from the root of the coursier sources. That will generate a new (bigger) `coursier` launcher, that needs not to download anything on first launch.
|
||||
|
||||
## Development tips
|
||||
|
||||
#### Working on the plugin module in an IDE
|
||||
|
||||
Binary file not shown.
@@ -630,6 +630,10 @@ Set the `COURSIER_NO_TERM` environment variable to `1`. This disables the
|
||||
progress bar message, and prints simple `Downloading URL` / `Downloaded URL`
|
||||
instead.
|
||||
|
||||
#### On first launch, the coursier launcher downloads a 1.5+ MB JAR. Is it possible to have a standalone launcher, that would not need to download things on first launch?
|
||||
|
||||
Run `project/generate-launcher.sh -s` from the root of the coursier sources. That will generate a new (bigger) `coursier` launcher, that needs not to download anything on first launch.
|
||||
|
||||
## Development tips
|
||||
|
||||
#### Working on the plugin module in an IDE
|
||||
|
||||
@@ -20,4 +20,5 @@ fi
|
||||
-D "\${user.home}/.coursier/bootstrap/$VERSION" \
|
||||
-f -o coursier \
|
||||
-M coursier.cli.Coursier \
|
||||
-P coursier.cache="\${user.home}/.coursier/cache/$CACHE_VERSION"
|
||||
-P coursier.cache="\${user.home}/.coursier/cache/$CACHE_VERSION" \
|
||||
"$@"
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ ! -e cli/target/scala-2.11/proguard/coursier-standalone.jar ]; then
|
||||
echo "Generating proguarded JAR..." 1>&2
|
||||
sbt cli/proguard:proguard
|
||||
fi
|
||||
|
||||
cat > coursier-standalone << EOF
|
||||
#!/bin/sh
|
||||
exec java -noverify -cp "\$0" coursier.cli.Coursier "\$@"
|
||||
EOF
|
||||
cat cli/target/scala-2.11/proguard/coursier-standalone.jar >> coursier-standalone
|
||||
chmod +x coursier-standalone
|
||||
Reference in New Issue
Block a user