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 1af8726c44..9d09b24d54 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,10 @@ govet:
go tool vet -composites=false -methods=false -structtags=false .
build-dev: $(GENERATED) govet
+ go install $(BUILD_FLAGS) -tags '$(TAGS)'
+ cp '$(GOPATH)/bin/gogs' .
+
+build-dev-race: $(GENERATED) govet
go install $(BUILD_FLAGS) -race -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' .