From 124ee09a304bf30eb453fa2d53c2958345196a25 Mon Sep 17 00:00:00 2001 From: Zhonghu Xu Date: Wed, 17 Apr 2019 09:56:23 +0800 Subject: [PATCH 1/2] fix verify --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c96f7826..5c638be58 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ vk-admission: init vkctl: init go build -ldflags ${LD_FLAGS} -o=${BIN_DIR}/vkctl ./cmd/cli -verify: generate-deepcopy +verify: generate-code hack/verify-gofmt.sh hack/verify-golint.sh hack/verify-gencode.sh From 4b902aa45018dbf5ab9a34fd980ba44ec9f18c83 Mon Sep 17 00:00:00 2001 From: Zhonghu Xu Date: Wed, 17 Apr 2019 14:30:02 +0800 Subject: [PATCH 2/2] try to fix pull-kube-batch-verify --- Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Makefile b/Makefile index 5c638be58..23c7f1082 100644 --- a/Makefile +++ b/Makefile @@ -36,12 +36,6 @@ verify: generate-code init: mkdir -p ${BIN_DIR} -generate-deepcopy: init - go build -o ${BIN_DIR}/deepcopy-gen ./cmd/deepcopy-gen/ - ${BIN_DIR}/deepcopy-gen -i ./pkg/apis/scheduling/v1alpha1/ -O zz_generated.deepcopy --go-header-file hack/boilerplate/boilerplate.generatego.txt - ${BIN_DIR}/deepcopy-gen -i ./pkg/apis/batch/v1alpha1/ -O zz_generated.deepcopy --go-header-file hack/boilerplate/boilerplate.generatego.txt - ${BIN_DIR}/deepcopy-gen -i ./pkg/apis/bus/v1alpha1/ -O zz_generated.deepcopy --go-header-file hack/boilerplate/boilerplate.generatego.txt - rel_bins: go get github.com/mitchellh/gox #Build kube-batch binary