diff options
author | Unknwon <u@gogs.io> | 2015-11-08 14:31:49 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-08 14:31:49 -0500 |
commit | b55499d039c5e35130057b8af16401c558e79e79 (patch) | |
tree | 4f3fc503ac7f1bb4f63733f359ba450fd90f3f1b /Makefile | |
parent | 58436b5ea51cb5e09fb244331d7a9acf70258063 (diff) | |
download | gitea-b55499d039c5e35130057b8af16401c558e79e79.tar.gz gitea-b55499d039c5e35130057b8af16401c558e79e79.zip |
go vet and fix #1890
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -13,8 +13,10 @@ build: go install -ldflags '$(LDFLAGS)' -tags '$(TAGS)' go build -ldflags '$(LDFLAGS)' -tags '$(TAGS)' +govet: + go tool vet -composites=false -methods=false -structtags=false . + pack: - find . -name ".DS_Store" -print0 | xargs -0 rm rm -rf $(RELEASE_GOGS) mkdir -p $(RELEASE_GOGS) cp -r gogs LICENSE README.md README_ZH.md templates public scripts $(RELEASE_GOGS) @@ -27,4 +29,7 @@ bindata: go-bindata -o=modules/bindata/bindata.go -ignore="\\.DS_Store|README.md" -pkg=bindata conf/... clean: - go clean -i ./...
\ No newline at end of file + go clean -i ./... + +clean-mac: clean + find . -name ".DS_Store" -print0 | xargs -0 rm
\ No newline at end of file |