summaryrefslogtreecommitdiff
path: root/2023/Go/Taskfile.yml
blob: a89c4c3fe45c8eaf45e11bacf449f61a4f5751f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# https://taskfile.dev

version: '3'

tasks:

  default:
    desc: "Prints this message"
    cmds:
      - cmd: task --list-all

  test:coverage:
    desc: Runs tests and produce coverage report
    cmds:
      - mkdir --parents out
      - go test -coverprofile=out/coverage.out ./... 
      - go tool cover -html=out/coverage.out