summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-14 23:14:55 -0500
committerUnknwon <u@gogs.io>2016-02-14 23:14:55 -0500
commit58e004f7da58eaa8c461e34cc2fbbb9727f6fa33 (patch)
treed2b16690a4d19917530fe522271f3121683eb074 /Makefile
parentfd92d91da3212f609ed6266fed7ac4b9f238f771 (diff)
downloadgitea-58e004f7da58eaa8c461e34cc2fbbb9727f6fa33.tar.gz
gitea-58e004f7da58eaa8c461e34cc2fbbb9727f6fa33.zip
Remove cache avatar support and add its tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4137d89d49..8ba1aa7ae5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,13 +19,13 @@ 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 .
+build-dev: $(GENERATED) govet
+ go install -v -race -tags '$(TAGS)'
+ cp '$(GOPATH)/bin/gogs' .
+
pack:
rm -rf $(RELEASE_GOGS)
mkdir -p $(RELEASE_GOGS)
@@ -52,4 +52,4 @@ clean-mac: clean
find . -name ".DS_Store" -print0 | xargs -0 rm
test:
- go test ./...
+ go test -cover -race ./...