2021-10-08 14:36:58 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Copy wasm javascript to match the go version
|
|
|
|
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./static/wasm
|
|
|
|
|
|
|
|
# Build wasm code
|
2022-11-22 23:54:59 +00:00
|
|
|
GOOS=js GOARCH=wasm go build -o ./static/wasm/access.wasm storj.io/storj/satellite/console/wasm
|