mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Add make dev step
This commit is contained in:
parent
84838a0b99
commit
60eda30273
7
Makefile
7
Makefile
@ -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/...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user