Fix bindata for build

This commit is contained in:
Daniel Heath 2018-05-28 10:25:30 +10:00
parent 3b91b699e3
commit 9e928f6b74
1 changed files with 2 additions and 2 deletions

View File

@ -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