mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 18:58:38 +00:00
go vet and fix #1890
This commit is contained in:
9
Makefile
9
Makefile
@@ -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 ./...
|
||||
go clean -i ./...
|
||||
|
||||
clean-mac: clean
|
||||
find . -name ".DS_Store" -print0 | xargs -0 rm
|
Reference in New Issue
Block a user