Fix install command

This commit is contained in:
Mikołaj Pęczkowski 2024-03-24 15:33:32 +01:00
parent 9f4d85e707
commit 8cd3ed2127

View File

@ -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