mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 04:05:42 +01: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:
parent
22e14a0a67
commit
47a3243ff1
1 changed files with 7 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -17,6 +17,12 @@ 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) models modules routers
|
||||
|
|
Loading…
Reference in a new issue