Compile for 32/64 bits of linux/windows

This commit is contained in:
Dan Sosedoff
2014-10-13 17:31:39 -05:00
parent b1dd26e931
commit 84838a0b99

View File

@@ -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