GitRepositoryManager/Taskfile.yml

22 lines
354 B
YAML
Raw Normal View History

2021-11-11 15:17:58 +00:00
version: '3'
tasks:
pull:
cmds:
- go mod download
silent: true
test:
cmds:
- go test $(find './internal' -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover
2021-11-11 15:17:58 +00:00
build:
dir: "cmd"
2021-11-11 15:17:58 +00:00
cmds:
- mkdir -p ../build
- go build -o ../build/grm
2021-11-11 15:17:58 +00:00
install:
deps:
- build
cmds:
- go install .