mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08: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:
|
format:
|
||||||
find . -iname '*.go' | egrep -v "generated|\.(l|y)\.go" | xargs -n1 gofmt -w -s=true
|
find . -iname '*.go' | egrep -v "generated|\.(l|y)\.go" | xargs -n1 gofmt -w -s=true
|
||||||
|
|
||||||
|
advice:
|
||||||
|
go tool vet -v .
|
||||||
|
|
||||||
search_index:
|
search_index:
|
||||||
godoc -index -write_index -index_files='search_index'
|
godoc -index -write_index -index_files='search_index'
|
||||||
|
|
||||||
documentation: search_index
|
documentation: search_index
|
||||||
godoc -http=:6060 -index -index_files='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 a new issue