mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00: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:
8
Makefile
8
Makefile
@ -17,8 +17,14 @@ GOVET = go tool vet -composites=false -methods=false -structtags=false
|
|||||||
|
|
||||||
.IGNORE: public/css/gogs.css
|
.IGNORE: public/css/gogs.css
|
||||||
|
|
||||||
|
all: build
|
||||||
|
|
||||||
|
check: test
|
||||||
|
|
||||||
|
dist: release
|
||||||
|
|
||||||
govet:
|
govet:
|
||||||
$(GOVET) gogs.go
|
$(GOVET) gogs.go
|
||||||
$(GOVET) models modules routers
|
$(GOVET) models modules routers
|
||||||
|
|
||||||
build: $(GENERATED)
|
build: $(GENERATED)
|
||||||
|
Reference in New Issue
Block a user