Add make dev step

This commit is contained in:
Dan Sosedoff 2014-10-13 18:29:44 -05:00
parent 84838a0b99
commit 60eda30273

View File

@ -3,7 +3,14 @@ build:
go-bindata static/... go-bindata static/...
gox -osarch="darwin/amd64 linux/amd64 linux/386 windows/amd64 windows/386" -output="./bin/pgweb_{{.OS}}_{{.Arch}}" gox -osarch="darwin/amd64 linux/amd64 linux/386 windows/amd64 windows/386" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
dev:
rm -f bindata.go
go-bindata static/...
go build
@echo "You can now execute ./pgweb"
deps: deps:
go get
go get github.com/mitchellh/gox go get github.com/mitchellh/gox
go get github.com/jteeuwen/go-bindata/... go get github.com/jteeuwen/go-bindata/...