mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 07:23:02 +00:00
Add advice target to makefile.
This commit is contained in:
parent
ed0db275d8
commit
15cc7744cd
5
Makefile
5
Makefile
@ -32,11 +32,14 @@ clean:
|
||||
format:
|
||||
find . -iname '*.go' | egrep -v "generated|\.(l|y)\.go" | xargs -n1 gofmt -w -s=true
|
||||
|
||||
advice:
|
||||
go tool vet -v .
|
||||
|
||||
search_index:
|
||||
godoc -index -write_index -index_files='search_index'
|
||||
|
||||
documentation: search_index
|
||||
godoc -http=:6060 -index -index_files='search_index'
|
||||
|
||||
.PHONY: build clean format test
|
||||
.PHONY: advice build clean documentation format search_index test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user