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:
parent
3b91b699e3
commit
9e928f6b74
4
Makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user