aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2016-12-30 15:35:07 +0800
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-30 20:41:10 +0100
commitcb18941e639e4e2151b275a082b31c1d344c8906 (patch)
tree231bf763d8238001523a758b46e3d199283754f9 /Makefile
parent6510e5775896343f0a69c47ad31c439c7310ff34 (diff)
downloadgitea-cb18941e639e4e2151b275a082b31c1d344c8906.tar.gz
gitea-cb18941e639e4e2151b275a082b31c1d344c8906.zip
replcae go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7fd49bb655..f38a26ed3a 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ clean:
.PHONY: fmt
fmt:
- go fmt $(PACKAGES)
+ find . -name "*.go" -type f -not -path "./vendor/*" | xargs gofmt -s -w
.PHONY: vet
vet: