summaryrefslogtreecommitdiffstats
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)
ground-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
language: go

go:
  - 1.2
  - 1.3
  - 1.4
  - tip

sudo: false

script: go build -v

notifications:
  email:
    - u@gogs.io