Skip to content

Commit

Permalink
Add all, check and dist Makefile rules (gogs#3549)
Browse files Browse the repository at this point in the history
These are to follow the GNU Coding Standards Makefile Targets:
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
  • Loading branch information
strk authored and unknwon committed Aug 30, 2016
1 parent 22e14a0 commit 47a3243
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 47a3243

Please sign in to comment.