mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
20 lines
404 B
Makefile
20 lines
404 B
Makefile
build:
|
|
rm -f bindata.go
|
|
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/...
|
|
|
|
clean:
|
|
rm -f ./pgweb
|
|
rm -f ./bin/*
|
|
rm -r bindata.go
|