From 104ee66f5930f4a37ac84538c29a291bf1d08f4f Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 24 Jan 2023 20:27:22 +0800 Subject: Use cobra as command selector --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 45238f4..0d23689 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,14 @@ all: zk zk: main.go command.go go.mod go.sum map.go set.go doc.go go build . +.PHONY: test +test: + go test ./... + .PHONY: install install: zk @install -vm0755 zk /usr/bin/zk +.PHONY: uninstall uninstall: @rm -vrf /usr/bin/zk -- cgit v1.2.3