Browse Source

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
pull/3509/merge
Sandro Santilli 8 years ago committed by 无闻
parent
commit
47a3243ff1
  1. 6
      Makefile

6
Makefile

@ -17,6 +17,12 @@ 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

Loading…
Cancel
Save