Build for windows and linux

This commit is contained in:
Dan Sosedoff 2014-10-13 16:27:53 -05:00
parent 0ce156ab9c
commit b1dd26e931

View File

@ -1,7 +1,7 @@
build:
rm -f bindata.go
go-bindata static/...
gox -osarch="darwin/amd64" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
gox -osarch="darwin/amd64 windows/amd64 linux/amd64" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
deps:
go get github.com/mitchellh/gox