Add -ignore flag to bindata generation
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,11 +1,11 @@
|
||||
build:
|
||||
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}}"
|
||||
|
||||
dev:
|
||||
rm -f bindata.go
|
||||
go-bindata -debug static/...
|
||||
go-bindata -debug -ignore=\\.gitignore -ignore=\\.DS_Store -ignore=\\.gitkeep static/...
|
||||
go build
|
||||
@echo "You can now execute ./pgweb"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user