Instruct `gofmt` to simplify output.

This commit is contained in:
Matt T. Proud 2012-11-29 20:42:32 +01:00
parent 044a5b4e14
commit 43aeba2699

View file

@ -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'