mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-12 21:43:13 +01:00
Create bin dir
This commit is contained in:
parent
f6151b6290
commit
ccfcb2d280
1 changed files with 2 additions and 0 deletions
2
build.sh
2
build.sh
|
@ -17,6 +17,8 @@ else
|
|||
export FLAGS=""
|
||||
fi
|
||||
|
||||
mkdir -p bin
|
||||
|
||||
CGO_ENABLED=1 go build -trimpath -ldflags "$FLAGS" -v -o "bin/" ./cmd/...
|
||||
|
||||
CGO_ENABLED=0 GOOS=js GOARCH=wasm go build -trimpath -ldflags "$FLAGS" -o bin/main.wasm ./cmd/dendritejs
|
||||
|
|
Loading…
Reference in a new issue