Skip to content

Commit 602590b

Browse files
committed
added build instructions; updated installation instructions
1 parent 71b6a1e commit 602590b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ kscript --self-update
4646

4747
#### Installation without `sdkman`
4848

49-
If you have Kotlin and Maven already and you would like to install the latest `kscript` release to your `~/bin` without using `sdkman` you can do so with:
49+
If you have Kotlin and Maven already and you would like to install the latest `kscript` release to your `~/bin` without using `sdkman` you can do so by unzipping the [latest ](https://github.com/holgerbrandl/kscript/releases/latest) binary release.
50+
5051

51-
```bash
52-
curl -Lso ~/bin/kscript https://git.io/v9R73 && chmod u+x ~/bin/kscript
53-
```
5452

5553
Interpreter Usage
5654
-----------------
@@ -247,6 +245,16 @@ How to contribute?
247245

248246
We always welcome pull requests. :-)
249247

248+
To build kscript yourself, simply clone the repo and do
249+
```bash
250+
## in the kscript repo root simple build it with
251+
gradle shadowJar
252+
## ... then copy fresh build into the same dir as launcher
253+
cp build/libs/kscript-0.1-SNAPSHOT-all.jar kscript.jar
254+
## then and run it as usual with
255+
./kscript
256+
```
257+
250258
You could also show your support by upvoting `kscript` here on github, or by voting for issues in Intellij IDEA which impact `kscript`ing. Here are our top 3 tickets/annoyances that we would love to see fixed:
251259

252260
1. [KT-13347](https://youtrack.jetbrains.com/issue/KT-13347) Good code is red in injected kotlin language snippets

0 commit comments

Comments
 (0)