Browse code

Add a 'fmt' target to the Makefile.

A convenience for gofmting all the code, including subpackages.

Caleb Spare authored on 2013/04/02 05:05:00
Showing 1 changed files
... ...
@@ -41,3 +41,6 @@ endif
41 41
 
42 42
 test: all
43 43
 	@(cd $(DOCKER_DIR); sudo -E go test $(GO_OPTIONS))
44
+
45
+fmt:
46
+	@find . -name "*.go" -exec gofmt -l -w {} \;