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

This commit is contained in:
Francisco Souza 2013-04-01 18:50:25 -03:00
parent 6d00145076
commit 650dff73bd
1 changed files with 1 additions and 1 deletions

View File

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