فهرست منبع

Merge pull request #300 from cespare/make-fmt

Add a 'fmt' target to the Makefile.
Solomon Hykes 12 سال پیش
والد
کامیت
50500cfcb6
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      Makefile

+ 3 - 0
Makefile

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