summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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 .