add local run script

This commit is contained in:
Cadey Ratio 2019-12-10 22:25:16 +00:00
parent 04975b6a5e
commit 18eef713a0
1 changed files with 8 additions and 0 deletions

8
scripts/localrun.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
(go run ./cmd/wasmcloudd 2>&1 | prefix "web ") &
(go run ./cmd/wasmcloud-executor 2>&1 | prefix "worker") &
wait
killall -9 wasmcloudd ||:
killall -9 wasmcloud-executor ||: