dendrite/build.sh
2020-04-28 16:22:00 +01:00

8 lines
189 B
Bash
Executable file

#!/bin/bash -eu
# Put installed packages into ./bin
export GOBIN=$PWD/`dirname $0`/bin
go install -v $PWD/`dirname $0`/cmd/...
GOOS=js GOARCH=wasm go build -o main.wasm ./cmd/dendritejs