From 12631544fc5a9a22a545b59e4add9067292d5ac7 Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Sun, 19 Oct 2014 09:10:22 -0600 Subject: [PATCH] Add -ignore flag to bindata generation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7196573..7d00017 100644 --- a/Makefile +++ b/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"