From 6f4328ae958d98811235d760a37b972327fa080e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Sat, 28 Oct 2023 23:45:56 +0200 Subject: [PATCH] chore: move main at the root of the repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- Makefile | 3 +-- cmd/cli/main.go => main.go | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename cmd/cli/main.go => main.go (100%) diff --git a/Makefile b/Makefile index 28a121b9..de5b50df 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,6 @@ KO_REGISTRY := ko.local KO_PLATFORMS := all KO_TAGS := $(GIT_SHA) KO_CACHE ?= /tmp/ko-cache -CLI_DIR := cmd/cli CLI_BIN := kyverno-json ######### @@ -122,7 +121,7 @@ vet: ## Run go vet $(CLI_BIN): fmt vet build-wasm codegen-crds codegen-deepcopy codegen-register codegen-client codegen-playground @echo Build cli binary... >&2 - @CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) go build -o ./$(CLI_BIN) -ldflags=$(LD_FLAGS) ./$(CLI_DIR) + @CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) go build -o ./$(CLI_BIN) -ldflags=$(LD_FLAGS) . .PHONY: build build: $(CLI_BIN) ## Build diff --git a/cmd/cli/main.go b/main.go similarity index 100% rename from cmd/cli/main.go rename to main.go