diff --git a/Makefile b/Makefile index 43754b9..76d94f0 100644 --- a/Makefile +++ b/Makefile @@ -53,16 +53,7 @@ install-golangci-lint: # Installing # -------------------------------------- -CUR_DIR=$(shell pwd) - -ifeq ($(OS),Windows_NT) -BINARY_PATH=$(CUR_DIR)/bin/check-argocd.exe -else -BINARY_PATH=$(CUR_DIR)/bin/check-argocd -endif - .PHONY: install ## build the binary and copy into $(GOPATH)/bin install: - @go build -o $(BINARY_PATH) main.go - @cp $(BINARY_PATH) $(GOPATH)/bin \ No newline at end of file + go install github.com/codeready-toolchain/argocd-checker@master \ No newline at end of file