From 8cd3ed2127f1c179646cf7bfecd3786eb0a91b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20P=C4=99czkowski?= Date: Sun, 24 Mar 2024 15:33:32 +0100 Subject: [PATCH] Fix install command --- Taskfile.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index bc8d544..cb9e044 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -5,17 +5,22 @@ tasks: cmds: - go mod download silent: true + test: cmds: - go test $(find './internal' -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover + build: dir: "cmd" + deps: + - pull cmds: - mkdir -p ../build - go build -o ../build/grm install: + dir: "build" deps: - build cmds: - - go install . + - cp grm ${GOPATH}/bin/grm