Create bin dir

This commit is contained in:
Neil Alexander 2021-01-18 15:09:54 +00:00
parent f6151b6290
commit ccfcb2d280
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -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