Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide official sbt launch script as default #43

Merged
merged 1 commit into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ sbt.

- Configurable Java version: supports OpenJDK, GraalVM, Zulu and any other Java
version that's installable via Jabba.
- The `sbt` command is installed using the
[paulp/sbt-extras](https://github.com/paulp/sbt-extras/) launcher.
- For faster startup, the `csbt` command is installed using the Coursier-based
[coursier/sbt-extras](https://github.com/coursier/sbt-extras/) launcher. This
launcher does not work with all builds, only use `csbt` if you know what you
are doing.
- Cross-platform: works on Linux, macOS, Windows.
- The `sbt` command is provided, with the official sbt launch script.
- The following alternate sbt launch scripts are also provided:
- `sbtx` runs the [sbt-extras](https://github.com/dwijnand/sbt-extras/) launcher.
- `csbt` runs the [Coursier-based sbt-extras](https://github.com/coursier/sbt-extras/) launcher.

## Usage:

Expand Down
6 changes: 5 additions & 1 deletion src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,13 @@ function installSbt() {
core.startGroup("Install sbt");
core.addPath(bin);
curl(
"https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt",
"https://raw.githubusercontent.com/sbt/sbt/develop/sbt",
path.join(bin, "sbt")
);
curl(
"https://raw.githubusercontent.com/dwijnand/sbt-extras/master/sbt",
path.join(bin, "sbtx")
);
curl(
"https://raw.githubusercontent.com/coursier/sbt-extras/master/sbt",
path.join(bin, "csbt")
Expand Down