1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Fix bindata for build

This commit is contained in:
Daniel Heath 2018-05-28 10:25:30 +10:00
parent 3b91b699e3
commit 9e928f6b74

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