add option to generate windows build on linux
This commit is contained in:
parent
3391d5af8f
commit
4a23646076
3
Makefile
3
Makefile
|
@ -18,3 +18,6 @@ lint:
|
|||
./node_modules/.bin/eslint web/src --ext .js,.jsx,.ts,.tsx
|
||||
./node_modules/.bin/tsc --project tsconfig.json --noEmit
|
||||
test -z $$(gofmt -l .)
|
||||
|
||||
windows:
|
||||
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build
|
||||
|
|
Loading…
Reference in New Issue