Parcourir la source

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

Francisco Souza il y a 12 ans
Parent
commit
650dff73bd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

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