From 9e928f6b74254ccf7143974f126530e7727801af Mon Sep 17 00:00:00 2001 From: Daniel Heath Date: Mon, 28 May 2018 10:25:30 +1000 Subject: [PATCH] Fix bindata for build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 28e5909..9a3b4c2 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,11 @@ build: server/bindata.go STATICFILES := $(wildcard static/*) TEMPLATES := $(wildcard templates/*) server/bindata.go: $(STATICFILES) $(TEMPLATES) - go-bindata -tags '!debug' -o server/bindata.go static/... templates/... + go-bindata -pkg server -tags '!debug' -o server/bindata.go static/... templates/... go fmt server/bindata-debug.go: $(STATICFILES) $(TEMPLATES) - go-bindata -tags 'debug' -o server/bindata-debug.go -debug static/... templates/... + go-bindata -pkg server -tags 'debug' -o server/bindata-debug.go -debug static/... templates/... go fmt .PHONY: devel