Always format generated assets

It's easy to forget formatting assets after re-generating them, so let's
do this automatically.
This commit is contained in:
Tobias Schmidt 2016-07-27 19:01:51 -04:00
parent 5416518178
commit 4042392a2d

View File

@ -64,6 +64,7 @@ assets:
@echo ">> writing assets"
@$(GO) get -u github.com/jteeuwen/go-bindata/...
@go-bindata $(bindata_flags) -pkg ui -o web/ui/bindata.go -ignore '(.*\.map|bootstrap\.js|bootstrap-theme\.css|bootstrap\.css)' web/ui/templates/... web/ui/static/...
@$(GO) fmt ./web/ui
promu:
@GOOS=$(shell uname -s | tr A-Z a-z) \