From f6aa6b09806ec418c9586dea235b3009277d925d Mon Sep 17 00:00:00 2001 From: zacanger Date: Fri, 18 Sep 2020 16:20:55 +0000 Subject: [PATCH] chore: add make clean to remove bin and manpages (#1776) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 51af20952..075a8865e 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,10 @@ endif bin/gh: $(BUILD_FILES) @go build -trimpath -ldflags "$(GO_LDFLAGS)" -o "$@" ./cmd/gh +clean: + rm -rf ./bin ./share +.PHONY: clean + test: go test ./... .PHONY: test