Compile for 32/64 bits of linux/windows
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
|||||||
build:
|
build:
|
||||||
rm -f bindata.go
|
rm -f bindata.go
|
||||||
go-bindata static/...
|
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:
|
deps:
|
||||||
go get github.com/mitchellh/gox
|
go get github.com/mitchellh/gox
|
||||||
|
|||||||
Reference in New Issue
Block a user