aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-08-30 23:06:05 +0200
committer无闻 <u@gogs.io>2016-08-30 14:06:05 -0700
commit47a3243ff1b3da1b435d9390e578752f3a74ae8e (patch)
tree24488e1594fef0b43a660a4d6f23ca75415b1650 /Makefile
parent22e14a0a67fe0404a5de4e02ca23e474eb11a783 (diff)
downloadgitea-47a3243ff1b3da1b435d9390e578752f3a74ae8e.tar.gz
gitea-47a3243ff1b3da1b435d9390e578752f3a74ae8e.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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)