2014-10-31 05:02:58 +00:00
|
|
|
BINDATA=
|
|
|
|
|
|
|
|
dev: build-dev-assets
|
2014-10-13 18:29:44 -05:00
|
|
|
go build
|
|
|
|
@echo "You can now execute ./pgweb"
|
|
|
|
|
2014-10-31 05:02:58 +00:00
|
|
|
build-assets:
|
|
|
|
go-bindata $(BINDATA) -ignore=\\.gitignore -ignore=\\.DS_Store -ignore=\\.gitkeep static/...
|
|
|
|
|
|
|
|
build-dev-assets:
|
|
|
|
@$(MAKE) --no-print-directory build-assets BINDATA="-debug"
|
|
|
|
|
|
|
|
build: build-assets
|
2014-10-27 15:26:14 -05:00
|
|
|
gox -osarch="darwin/amd64 darwin/386 linux/amd64 linux/386 windows/amd64 windows/386" -output="./bin/pgweb_{{.OS}}_{{.Arch}}"
|
2014-10-25 12:55:12 -05:00
|
|
|
|
2014-10-24 20:52:15 -05:00
|
|
|
setup:
|
2014-11-05 18:18:41 -06:00
|
|
|
go get github.com/tools/godep
|
2014-10-10 17:32:47 -05:00
|
|
|
go get github.com/mitchellh/gox
|
2014-10-13 13:58:26 -05:00
|
|
|
go get github.com/jteeuwen/go-bindata/...
|
2014-10-24 20:52:15 -05:00
|
|
|
go get
|
2014-10-10 17:32:47 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ./pgweb
|
2014-10-13 18:31:28 -05:00
|
|
|
rm -f ./bin/*
|
2014-10-31 05:02:58 +00:00
|
|
|
rm -f bindata.go
|