Add a 'fmt' target to the Makefile.

A convenience for gofmting all the code, including subpackages.
This commit is contained in:
Caleb Spare 2013-04-01 13:05:00 -07:00
parent c9a13147fe
commit 9b13d21fc9
1 changed files with 3 additions and 0 deletions

View File

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