makefile: simplify "fmt" target, and include -s flag

This commit is contained in:
Francisco Souza 2013-04-01 18:50:25 -03:00
Родитель 6d00145076
Коммит 650dff73bd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -43,4 +43,4 @@ test: all
@(cd $(DOCKER_DIR); sudo -E go test $(GO_OPTIONS))
fmt:
@find . -name "*.go" -exec gofmt -l -w {} \;
@gofmt -s -l -w .