Compile for 32/64 bits of linux/windows
This commit is contained in:
parent
b1dd26e931
commit
84838a0b99
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
build:
|
||||
rm -f bindata.go
|
||||
go-bindata static/...
|
||||
gox -osarch="darwin/amd64 windows/amd64 linux/amd64" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
|
||||
gox -osarch="darwin/amd64 linux/amd64 linux/386 windows/amd64 windows/386" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
|
||||
|
||||
deps:
|
||||
go get github.com/mitchellh/gox
|
||||
|
Loading…
x
Reference in New Issue
Block a user