1
0
Fork 0
forked from forgejo/forgejo

Update code.gitea.io/git (#1824)

* Update code.gitea.io/git

* Update function calls

* govendor fetch
This commit is contained in:
Ethan Koenig 2017-05-30 05:32:01 -04:00 committed by Bo-Yi Wu
parent 367ff327ed
commit 474d636794
11 changed files with 209 additions and 126 deletions

8
vendor/code.gitea.io/git/Makefile generated vendored
View file

@ -1,6 +1,6 @@
IMPORT := code.gitea.io/git
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
PACKAGES ?= $(shell go list -e ./... | grep -v /vendor/ | grep -v /benchmark/)
GENERATE ?= code.gitea.io/git
.PHONY: all
@ -18,7 +18,7 @@ generate:
.PHONY: fmt
fmt:
find . -name "*.go" -type f -not -path "./vendor/*" | xargs gofmt -s -w
find . -name "*.go" -type f -not -path "./vendor/*" -not -path "./benchmark/*" | xargs gofmt -s -w
.PHONY: vet
vet:
@ -35,6 +35,10 @@ lint:
test:
for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
.PHONY: bench
bench:
go test -run=XXXXXX -benchtime=10s -bench=. || exit 1
.PHONY: build
build:
go build .