Sfoglia il codice sorgente

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

Francisco Souza 12 anni fa
parent
commit
650dff73bd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Makefile

+ 1 - 1
Makefile

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