0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-13 22:54:01 +01:00
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