Browse Source

Create bin dir

master
Neil Alexander 6 months ago
parent
commit
ccfcb2d280
No known key found for this signature in database GPG Key ID: A02A2019A2BB0944
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      build.sh

+ 2
- 0
build.sh 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

Loading…
Cancel
Save