Add -ignore flag to bindata generation

This commit is contained in:
Dan Sosedoff 2014-10-19 09:10:22 -06:00
parent 7b93db0760
commit 12631544fc

View File

@ -1,11 +1,11 @@
build: build:
rm -f bindata.go rm -f bindata.go
go-bindata static/... go-bindata -ignore=\\.gitignore -ignore=\\.DS_Store -ignore=\\.gitkeep 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: dev:
rm -f bindata.go rm -f bindata.go
go-bindata -debug static/... go-bindata -debug -ignore=\\.gitignore -ignore=\\.DS_Store -ignore=\\.gitkeep static/...
go build go build
@echo "You can now execute ./pgweb" @echo "You can now execute ./pgweb"