aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-14 20:07:42 -0500
committerUnknwon <u@gogs.io>2016-02-14 20:07:42 -0500
commita1d97e8f5c13d4380abe761ed64d0ab59b779167 (patch)
treea3f542336e3856df14e4036efec69215e9300825 /Makefile
parentdaa43cfb6e6ed4118676e55d47d8816bab2379e5 (diff)
downloadgitea-a1d97e8f5c13d4380abe761ed64d0ab59b779167.tar.gz
gitea-a1d97e8f5c13d4380abe761ed64d0ab59b779167.zip
Minor fix for #2567
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 768ec0b32b..4137d89d49 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,10 @@ build: $(GENERATED)
go install -v -ldflags '$(LDFLAGS)' -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' .
+build-dev: $(GENERATED)
+ go install -v -race -tags '$(TAGS)'
+ cp '$(GOPATH)/bin/gogs' .
+
govet:
go tool vet -composites=false -methods=false -structtags=false .