From ef9405ff9344ecb2f22f9f39fdd6839aa3091e44 Mon Sep 17 00:00:00 2001 From: a Date: Wed, 18 Jan 2023 23:17:59 -0600 Subject: [PATCH] fix makefile --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d4db0c0..56c2230 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ -build: +build: gospt + +gospt: $(shell find . -name '*.go') mkdir -p bin - go build -o ./bin/gospt . + go build -o gospt . completions: mkdir -p completions @@ -16,6 +18,7 @@ tidy: clean: rm -rf bin + rm -rf gospt rm -rf completions uninstall: @@ -23,7 +26,7 @@ uninstall: rm /usr/share/zsh/site-functions/_gospt install: - cp bin/gospt /usr/bin + cp gospt /usr/bin cp completions/_gospt /usr/share/zsh/site-functions/_gospt cp completions/gospt /usr/share/bash-completion/completions/gospt cp completions/gospt.fish /usr/share/fish/vendor_completions.d/gospt.fish