mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add a 'fmt' target to the Makefile.
A convenience for gofmting all the code, including subpackages.
This commit is contained in:
parent
c9a13147fe
commit
9b13d21fc9
1 changed files with 3 additions and 0 deletions
3
Makefile
3
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 {} \;
|
||||
|
|
Loading…
Add table
Reference in a new issue