Browse code

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

Francisco Souza authored on 2013/04/02 06:50:25
Showing 1 changed files
... ...
@@ -43,4 +43,4 @@ test: all
43 43
 	@(cd $(DOCKER_DIR); sudo -E go test $(GO_OPTIONS))
44 44
 
45 45
 fmt:
46
-	@find . -name "*.go" -exec gofmt -l -w {} \;
46
+	@gofmt -s -l -w .