mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00:00
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:
parent
5416518178
commit
4042392a2d
1
Makefile
1
Makefile
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user