diff --git a/Makefile b/Makefile index 88c2b2be..afbae2da 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME := k9s -PACKAGE := github.com/derailed/$(NAME)/internal +PACKAGE := github.com/derailed/$(NAME) GIT := $(shell git rev-parse --short HEAD) DATE := $(shell date +%FT%T%Z) VERSION := v0.12.0 @@ -19,7 +19,7 @@ cover: ## Run test coverage suite build: ## Builds the CLI @go build \ -ldflags "-w -X ${PACKAGE}/cmd.version=${VERSION} -X ${PACKAGE}/cmd.commit=${GIT} -X ${PACKAGE}/cmd.date=${DATE}" \ - -a -tags netgo -o execs/${NAME} *.go + -a -tags netgo -o execs/${NAME} main.go img: ## Build Docker Image @docker build --rm -t ${IMAGE} .