26 lines
352 B
YAML
26 lines
352 B
YAML
version: '3'
|
|
|
|
env:
|
|
go_dir:
|
|
|
|
tasks:
|
|
pull:
|
|
cmds:
|
|
- go mod download
|
|
silent: true
|
|
test:
|
|
cmds:
|
|
- go test ./app
|
|
- go test ./commands
|
|
- go test ./config
|
|
- go test ./echo
|
|
build:
|
|
cmds:
|
|
- mkdir -p build
|
|
- go build -o build/grm
|
|
|
|
install:
|
|
deps:
|
|
- build
|
|
cmds:
|
|
- go install . |