Spaces:
Running
Running
set -e | |
GOOS=js GOARCH=wasm go build -o main.wasm | |
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" . | |
set -e | |
GOOS=js GOARCH=wasm go build -o main.wasm | |
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" . | |