From 60eda3027374dae24de8abd8cab5f3714bd5b336 Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Mon, 13 Oct 2014 18:29:44 -0500 Subject: [PATCH] Add make dev step --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index ca8b6dc..fae4311 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,14 @@ build: go-bindata static/... 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: + go get go get github.com/mitchellh/gox go get github.com/jteeuwen/go-bindata/...