mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-13 18:40:16 -04:00
Instruct `gofmt` to simplify output.
This commit is contained in:
parent
044a5b4e14
commit
43aeba2699
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -31,7 +31,7 @@ clean:
|
|||
-find . -type f -iname '.#*' -exec rm '{}' ';'
|
||||
|
||||
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:
|
||||
godoc -index -write_index -index_files='search_index'
|
||||
|
|
|
|||
Loading…
Reference in a new issue