Skip to content

Commit

Permalink
provide official sbt launch script as default (#43)
Browse files Browse the repository at this point in the history
also continue providing sbt-extras, but as `sbtx`
  • Loading branch information
SethTisue authored Aug 2, 2021
1 parent 7418555 commit 0f46c34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
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

0 comments on commit 0f46c34

Please sign in to comment.