mirror of
https://github.com/containers/podman.git
synced 2025-12-05 04:40:47 +08:00
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go) from 2.19.0+incompatible to 2.20.0+incompatible. - [Release notes](https://github.com/uber/jaeger-client-go/releases) - [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/uber/jaeger-client-go/compare/v2.19.0...v2.20.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
52 lines
1.0 KiB
Makefile
52 lines
1.0 KiB
Makefile
# Many Go tools take file globs or directories as arguments instead of packages.
|
|
PACKAGE_FILES ?= *.go
|
|
|
|
# For pre go1.6
|
|
export GO15VENDOREXPERIMENT=1
|
|
|
|
|
|
.PHONY: build
|
|
build:
|
|
go build -i ./...
|
|
|
|
|
|
.PHONY: install
|
|
install:
|
|
glide --version || go get github.com/Masterminds/glide
|
|
glide install
|
|
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test -cover -race ./...
|
|
|
|
|
|
.PHONY: install_ci
|
|
install_ci: install
|
|
go get github.com/wadey/gocovmerge
|
|
go get github.com/mattn/goveralls
|
|
go get golang.org/x/tools/cmd/cover
|
|
|
|
.PHONY: install_lint
|
|
install_lint:
|
|
go get golang.org/x/lint/golint
|
|
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
@rm -rf lint.log
|
|
@echo "Checking formatting..."
|
|
@gofmt -d -s $(PACKAGE_FILES) 2>&1 | tee lint.log
|
|
@echo "Checking vet..."
|
|
@go vet ./... 2>&1 | tee -a lint.log;)
|
|
@echo "Checking lint..."
|
|
@golint $$(go list ./...) 2>&1 | tee -a lint.log
|
|
@echo "Checking for unresolved FIXMEs..."
|
|
@git grep -i fixme | grep -v -e vendor -e Makefile | tee -a lint.log
|
|
@[ ! -s lint.log ]
|
|
|
|
|
|
.PHONY: test_ci
|
|
test_ci: install_ci build
|
|
./scripts/cover.sh $(shell go list $(PACKAGES))
|