Skip to content

Commit 3a9a90c

Browse files
Update README.md
1 parent 55c1510 commit 3a9a90c

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

README.md

+2-33
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
1-
[GraalVM native-image](https://www.graalvm.org/docs/getting-started/#native-images) launchers for [scalafmt](https://scalameta.org/scalafmt).
1+
GraalVM native image launchers of [scala-js-cli](https://github.com/scala-js/scala-js-cli) (linker only)
22

3-
_Note that Scala Native support in scalafmt is in the works. As soon as it is stable and provides launchers for Linux / macOS / Windows, the repository here should be sunset._
4-
5-
These launchers are generated on the scalafmt-native-image CI, and pushed [here](https://github.com/alexarchambault/scalafmt-native-image/releases/tag/launchers).
6-
7-
## Getting the launcher
8-
9-
### Linux
10-
11-
```text
12-
$ curl -fL https://github.com/alexarchambault/scalafmt-native-image/releases/download/launchers/scalafmt-3.0.0-x86_64-pc-linux.gz | gzip -d > scalafmt
13-
$ chmod +x scalafmt
14-
$ ./scalafmt --help
15-
```
16-
17-
### macOS
18-
19-
```text
20-
$ curl -fL https://github.com/alexarchambault/scalafmt-native-image/releases/download/launchers/scalafmt-3.0.0-x86_64-apple-darwin.gz | gzip -d > scalafmt
21-
$ chmod +x scalafmt
22-
$ ./scalafmt --help
23-
```
24-
25-
### Windows
26-
27-
(untested)
28-
29-
```text
30-
> curl -fLo scalafmt.zip https://github.com/alexarchambault/scalafmt-native-image/releases/download/launchers/scalafmt-3.0.0-x86_64-pc-win32.zip
31-
> tar -xf scalafmt.zip
32-
> mv scalafmt-3.0.0.exe scalafmt.exe
33-
> scalafmt --help
34-
```
3+
Mainly meant to be used by [Scala CLI](https://github.com/VirtusLab/scala-cli) (see [`VirtusLab/scala-cli#676`](https://github.com/VirtusLab/scala-cli/pull/676))

0 commit comments

Comments
 (0)