Skip to content

Commit e5c47a9

Browse files
author
Xavier Godart
committed
update runal docs
1 parent d8335dd commit e5c47a9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

content/runal.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,16 @@ The js file will be **automatically reloaded when modified**, no need to restart
110110

111111
To **exit**, just type `ctrl+c`.
112112

113+
#### Standalone executable
114+
115+
You can create a standalone executable from the JavaScript file specified with **-f** using **-o [FILE]**:
116+
```sh
117+
./runal -f sketch.js -o sketch
118+
119+
# Run the standalone executable
120+
./sketch
121+
```
122+
113123
### Go package
114124

115125
Because **Runal** is written in Go, you can also use it as a Go package.

0 commit comments

Comments
 (0)