aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-04-28 16:22:00 +0100
committerGitHub <noreply@github.com>2020-04-28 16:22:00 +0100
commit0354836b57aa0f1e39c43961669ab1afcb757460 (patch)
treed143bf084fd1d7334db37f7c6e535e041851f35c /build.sh
parent35b7cbd5d8673d8ea82b36d90d9ad5b79dc3c5b7 (diff)
Unbreak the wasm build (#986)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 3ef14889..087f4ae7 100755
--- a/build.sh
+++ b/build.sh
@@ -3,4 +3,6 @@
# Put installed packages into ./bin
export GOBIN=$PWD/`dirname $0`/bin
-go install -v $PWD/`dirname $0`/cmd/... \ No newline at end of file
+go install -v $PWD/`dirname $0`/cmd/...
+
+GOOS=js GOARCH=wasm go build -o main.wasm ./cmd/dendritejs