Skip to content

Commit

Permalink
docs: Add multiplat installation procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed May 15, 2024
1 parent d796748 commit e1d5f0b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ to embed [https://dyne.org/slangroom](slangroom) into other languages.

separated each per new-line and encoded in `base64` and outputs the slangroom execution to stoud.

### 💾 Install

```bash
wget https://github.com/dyne/slangroom-exec/releases/latest/download/slangroom-exec-$(uname)-$(uname -m) -O ~/.local/bin/slangroom-exec && chmod +x ~/.local/bin/slangroom-exec
```

check that works by running:

```bash
wget https://raw.githubusercontent.com/dyne/slangroom-exec/main/test/fixtures/welcome.slex| slangroom-exec
```

### Demo

![Slangroom-exec Demo](./docs/slangroom-exec.gif)
Expand Down
5 changes: 5 additions & 0 deletions test/fixtures/welcome.slang
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Rule unknown ignore
Given I fetch the local timestamp in seconds and output into 'timestamp'
Given I have a 'number' named 'timestamp'
Then print the string '😘 Welcome to the Slangroom World 🌈'
Then print the 'timestamp'
5 changes: 5 additions & 0 deletions test/fixtures/welcome.slex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

UnVsZSB1bmtub3duIGlnbm9yZQpHaXZlbiBJIGZldGNoIHRoZSBsb2NhbCB0aW1lc3RhbXAgaW4gc2Vjb25kcyBhbmQgb3V0cHV0IGludG8gJ3RpbWVzdGFtcCcKR2l2ZW4gSSBoYXZlIGEgJ251bWJlcicgbmFtZWQgJ3RpbWVzdGFtcCcKVGhlbiBwcmludCB0aGUgc3RyaW5nICfwn5iYIFdlbGNvbWUgdG8gdGhlIFNsYW5ncm9vbSBXb3JsZCDwn4yIJwpUaGVuIHByaW50IHRoZSAndGltZXN0YW1wJwo=



0 comments on commit e1d5f0b

Please sign in to comment.