minor cleanup for tabs and comments
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
parent
242cbd4dee
commit
f5d5286ec2
9
Makefile
9
Makefile
@ -17,7 +17,9 @@ EPOCH_TEST_COMMIT ?= f9e02affccd51702191e5312665a16045ffef8ab
|
|||||||
PROJECT := github.com/kubernetes-incubator/cri-containerd
|
PROJECT := github.com/kubernetes-incubator/cri-containerd
|
||||||
BINDIR ?= ${DESTDIR}/usr/local/bin
|
BINDIR ?= ${DESTDIR}/usr/local/bin
|
||||||
BUILD_DIR ?= _output
|
BUILD_DIR ?= _output
|
||||||
# VERSION is the version of the binary.
|
# VERSION is derived from the current tag for HEAD plus amends. Version is used
|
||||||
|
# to set/overide the criContainerdVersion variable in the verison package for
|
||||||
|
# cri-containerd.
|
||||||
VERSION:=$(shell git describe --tags --dirty)
|
VERSION:=$(shell git describe --tags --dirty)
|
||||||
BUILD_TAGS:= -ldflags '-X $(PROJECT)/pkg/version.criContainerdVersion=$(VERSION)'
|
BUILD_TAGS:= -ldflags '-X $(PROJECT)/pkg/version.criContainerdVersion=$(VERSION)'
|
||||||
|
|
||||||
@ -81,7 +83,8 @@ uninstall:
|
|||||||
rm -f $(BINDIR)/cri-containerd
|
rm -f $(BINDIR)/cri-containerd
|
||||||
|
|
||||||
.PHONY: .gitvalidation
|
.PHONY: .gitvalidation
|
||||||
# When this is running in travis, it will only check the travis commit range
|
# When this is running in travis, it will only check the travis commit range.
|
||||||
|
# When running outside travis, it will check from $(EPOCH_TEST_COMMIT)..HEAD.
|
||||||
.gitvalidation: check-gopath
|
.gitvalidation: check-gopath
|
||||||
ifeq ($(TRAVIS),true)
|
ifeq ($(TRAVIS),true)
|
||||||
git-validation -q -run DCO,short-subject
|
git-validation -q -run DCO,short-subject
|
||||||
@ -103,12 +106,12 @@ install.tools: .install.gitvalidation .install.gometalinter
|
|||||||
.PHONY: \
|
.PHONY: \
|
||||||
binaries \
|
binaries \
|
||||||
boiler \
|
boiler \
|
||||||
test \
|
|
||||||
clean \
|
clean \
|
||||||
default \
|
default \
|
||||||
gofmt \
|
gofmt \
|
||||||
help \
|
help \
|
||||||
install \
|
install \
|
||||||
lint \
|
lint \
|
||||||
|
test \
|
||||||
uninstall \
|
uninstall \
|
||||||
version
|
version
|
||||||
|
Loading…
Reference in New Issue
Block a user