From 5a67baec7ffadc583a319507e8930801a0dc0cd7 Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Mon, 30 Sep 2024 14:29:30 +0530 Subject: [PATCH] KUBESAW-192: Introduce a make command for pre-requisite of verify-replace (#599) Signed-off-by: Feny Mehta --- make/go.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/make/go.mk b/make/go.mk index 679f2c72..3b617368 100644 --- a/make/go.mk +++ b/make/go.mk @@ -38,7 +38,7 @@ generate-assets: go-bindata .PHONY: verify-dependencies ## Runs commands to verify after the updated dependecies of toolchain-common/API(go mod replace), if the repo needs any changes to be made -verify-dependencies: generate-assets tidy vet build test lint-go-code +verify-dependencies: tidy vet build test lint-go-code .PHONY: tidy tidy: @@ -47,3 +47,7 @@ tidy: .PHONY: vet vet: go vet ./... + +.PHONY: pre-verify +pre-verify: generate-assets + echo "Pre-requisite completed" \ No newline at end of file