GitRepositoryManager/Taskfile.yml

27 lines
408 B
YAML

version: '3'
tasks:
pull:
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:
- cp grm ${GOPATH}/bin/grm