diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-07 18:16:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-07 18:16:49 +0100 |
commit | 8f3b0f0d9e5f5131ef294ea0de57e10c05e5b921 (patch) | |
tree | 90f2a9a384ac629113dd21723f5220b4448e66ec /vendor/go.uber.org/atomic/Makefile | |
parent | 769d4218fff311456b0b61b72cad2b21c2dbed0f (diff) | |
parent | 75d67c49208137652adb13956691d4861b2ac15d (diff) | |
download | podman-8f3b0f0d9e5f5131ef294ea0de57e10c05e5b921.tar.gz podman-8f3b0f0d9e5f5131ef294ea0de57e10c05e5b921.tar.bz2 podman-8f3b0f0d9e5f5131ef294ea0de57e10c05e5b921.zip |
Merge pull request #4471 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.20.0+incompatible
Bump github.com/uber/jaeger-client-go from 2.19.0+incompatible to 2.20.0+incompatible
Diffstat (limited to 'vendor/go.uber.org/atomic/Makefile')
-rw-r--r-- | vendor/go.uber.org/atomic/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/vendor/go.uber.org/atomic/Makefile b/vendor/go.uber.org/atomic/Makefile new file mode 100644 index 000000000..1ef263075 --- /dev/null +++ b/vendor/go.uber.org/atomic/Makefile @@ -0,0 +1,51 @@ +# 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)) |