1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

Add all, check and dist Makefile rules (#3549)

These are to follow the GNU Coding Standards Makefile Targets:
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
This commit is contained in:
Sandro Santilli 2016-08-30 23:06:05 +02:00 committed by 无闻
parent 22e14a0a67
commit 47a3243ff1

View File

@ -17,8 +17,14 @@ GOVET = go tool vet -composites=false -methods=false -structtags=false
.IGNORE: public/css/gogs.css
all: build
check: test
dist: release
govet:
$(GOVET) gogs.go
$(GOVET) gogs.go
$(GOVET) models modules routers
build: $(GENERATED)