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

Run gofmt when building assets

This commit is contained in:
Daniel Heath
2018-02-20 21:08:13 +11:00
parent e5dfacb4bb
commit f729aece51
3 changed files with 223 additions and 178 deletions

View File

@@ -12,9 +12,12 @@ STATICFILES := $(wildcard static/*)
TEMPLATES := $(wildcard templates/*)
bindata.go: $(STATICFILES) $(TEMPLATES)
go-bindata -tags '!debug' static/... templates/...
go fmt
bindata-debug.go: $(STATICFILES) $(TEMPLATES)
go-bindata -tags 'debug' -o bindata-debug.go -debug static/... templates/...
go fmt
.PHONY: devel
devel: bindata-debug.go