add scripts

This commit is contained in:
Kasper Juul Hermansen 2022-10-21 22:47:26 +02:00
parent 98896fe497
commit abe4ed0446
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 9 additions and 0 deletions

3
scripts/build-wasm.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cargo build --target wasm32-wasi

3
scripts/install-wasm.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
brew install wasm32-wasi

3
scripts/run-wasm.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
wasmtime target/wasm32-wasi/debug/wasm-bin.wasm