Add taskfile

This commit is contained in:
Mikołaj Pęczkowski 2021-11-11 16:17:58 +01:00
parent 19e68df732
commit 2d06e8e09c
2 changed files with 27 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build

26
Taskfile.yml Normal file
View File

@ -0,0 +1,26 @@
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 .