Explorar el Código

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

Francisco Souza hace 12 años
padre
commit
650dff73bd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 .