20 lines
322 B
YAML
20 lines
322 B
YAML
version: '3'
|
|
|
|
tasks:
|
|
pull:
|
|
cmds:
|
|
- go mod download
|
|
silent: true
|
|
test:
|
|
cmds:
|
|
- go test $(find . -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover
|
|
build:
|
|
cmds:
|
|
- mkdir -p build
|
|
- go build -o build/grm
|
|
|
|
install:
|
|
deps:
|
|
- build
|
|
cmds:
|
|
- go install . |