You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-2Lines changed: 30 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,25 @@ Taken all these features together, `kscript` provides an easy-to-use, very flexi
19
19
20
20
21
21
---
22
-
### [`kscript` presentation from KotlinConf2017!](https://holgerbrandl.github.io/kscript_kotlinconf_2017/kscript_kotlinconf.html)
22
+
**[`kscript` presentation from KotlinConf2017!](https://holgerbrandl.github.io/kscript_kotlinconf_2017/kscript_kotlinconf.html)**
23
+
23
24
---
24
25
26
+
[TOC levels=2,2]: #""
27
+
28
+
-[Installation](#installation)
29
+
-[Script Input Modes](#script-input-modes)
30
+
-[Script Configuration](#script-configuration)
31
+
-[Text Processing Mode](#text-processing-mode)
32
+
-[Treat yourself a REPL with `--interactive`](#treat-yourself-a-repl-with---interactive)
33
+
-[Boostrap IDEA from a `kscript`let](#boostrap-idea-from-a-kscriptlet)
34
+
-[Deploy scripts as standalone binaries](#deploy-scripts-as-standalone-binaries)
35
+
-[FAQ](#faq)
36
+
-[Support](#support)
37
+
-[How to contribute?](#how-to-contribute)
38
+
-[Acknowledgements](#acknowledgements)
39
+
40
+
25
41
Installation
26
42
------------
27
43
@@ -387,6 +403,18 @@ This will open [IntelliJ IDEA](https://www.jetbrains.com/idea/) with a minimalis
387
403
388
404
This assumes that you have the Intellij IDEA command line launcher `idea` in your `PATH`. It can be created in IntelliJ under `Tools -> Create Command-line Launcher`
389
405
406
+
Deploy scripts as standalone binaries
407
+
--------------------------------------
408
+
409
+
To deploy a script simply do
410
+
411
+
```bash
412
+
kscript --package some_script.kts
413
+
./some_script --arg u ments
414
+
```
415
+
416
+
Just `java` is required to run these binaries.
417
+
390
418
FAQ
391
419
---
392
420
@@ -413,7 +441,7 @@ In order to use cygwin you need to use windows paths to provide your scripts. Yo
0 commit comments