From 47a3243ff1b3da1b435d9390e578752f3a74ae8e Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 30 Aug 2016 23:06:05 +0200 Subject: [PATCH] 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 --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 80ea032880..c321f82bad 100644 --- a/Makefile +++ b/Makefile @@ -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)