1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add gerrit widget

This commit is contained in:
Anand Sudhir Prayaga
2018-06-27 15:59:50 +02:00
committed by Chris Cummer
parent b78893db02
commit b976a1b847
54 changed files with 8021 additions and 268 deletions

26
vendor/github.com/andygrunwald/go-gerrit/Makefile generated vendored Normal file
View File

@@ -0,0 +1,26 @@
.PHONY: fmt vet check-vendor lint check clean test build
PACKAGES = $(shell go list ./...)
PACKAGE_DIRS = $(shell go list -f '{{ .Dir }}' ./...)
check: test vet lint
test:
go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
vet:
go vet $(PACKAGES) || (go clean $(PACKAGES); go vet $(PACKAGES))
lint:
gometalinter --config gometalinter.json ./...
fmt:
go fmt $(PACKAGES)
goimports -w $(PACKAGE_DIRS)
deps:
go get -t -v ./...
go get github.com/axw/gocov/gocov
go get golang.org/x/tools/cmd/cover
[ -f $(GOPATH)/bin/gometalinter ] || go get -u github.com/alecthomas/gometalinter
[ -f $(GOPATH)/bin/goimports ] || go get golang.org/x/tools/cmd/goimports
gometalinter --install