2014-10-09 18:56:08 +04:00
|
|
|
build:
|
2014-10-13 23:40:56 +04:00
|
|
|
rm -f bindata.go
|
2014-10-19 19:10:22 +04:00
|
|
|
go-bindata -ignore=\\.gitignore -ignore=\\.DS_Store -ignore=\\.gitkeep static/...
|
2014-10-14 02:31:39 +04:00
|
|
|
gox -osarch="darwin/amd64 linux/amd64 linux/386 windows/amd64 windows/386" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
|
2014-10-09 18:56:08 +04:00
|
|
|
|
2014-10-14 03:29:44 +04:00
|
|
|
dev:
|
|
|
|
rm -f bindata.go
|
2014-10-19 19:10:22 +04:00
|
|
|
go-bindata -debug -ignore=\\.gitignore -ignore=\\.DS_Store -ignore=\\.gitkeep static/...
|
2014-10-14 03:29:44 +04:00
|
|
|
go build
|
|
|
|
@echo "You can now execute ./pgweb"
|
|
|
|
|
2014-10-09 18:56:08 +04:00
|
|
|
deps:
|
2014-10-14 03:29:44 +04:00
|
|
|
go get
|
2014-10-11 02:32:47 +04:00
|
|
|
go get github.com/mitchellh/gox
|
2014-10-13 22:58:26 +04:00
|
|
|
go get github.com/jteeuwen/go-bindata/...
|
2014-10-11 02:32:47 +04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ./pgweb
|
2014-10-14 03:31:28 +04:00
|
|
|
rm -f ./bin/*
|
2014-10-25 05:39:43 +04:00
|
|
|
rm -f bindata.go
|