mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
Instruct `gofmt
` to simplify output.
This commit is contained in:
parent
044a5b4e14
commit
43aeba2699
2
Makefile
2
Makefile
|
@ -31,7 +31,7 @@ clean:
|
||||||
-find . -type f -iname '.#*' -exec rm '{}' ';'
|
-find . -type f -iname '.#*' -exec rm '{}' ';'
|
||||||
|
|
||||||
format:
|
format:
|
||||||
find . -iname '*.go' | grep -v generated | xargs -n1 gofmt -w
|
find . -iname '*.go' | grep -v generated | xargs -n1 gofmt -w -s=true
|
||||||
|
|
||||||
search_index:
|
search_index:
|
||||||
godoc -index -write_index -index_files='search_index'
|
godoc -index -write_index -index_files='search_index'
|
||||||
|
|
Loading…
Reference in a new issue