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="" export FLAGS=""
fi fi
mkdir -p bin
CGO_ENABLED=1 go build -trimpath -ldflags "$FLAGS" -v -o "bin/" ./cmd/... 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 CGO_ENABLED=0 GOOS=js GOARCH=wasm go build -trimpath -ldflags "$FLAGS" -o bin/main.wasm ./cmd/dendritejs