Prechádzať zdrojové kódy

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
Sandro Santilli 7 rokov pred
rodič
commit
47a3243ff1
1 zmenil súbory, kde vykonal 7 pridanie a 1 odobranie
  1. 7 1
      Makefile

+ 7 - 1
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)