diff options
Diffstat (limited to '2023/Go/Taskfile.yml')
| -rw-r--r-- | 2023/Go/Taskfile.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2023/Go/Taskfile.yml b/2023/Go/Taskfile.yml new file mode 100644 index 0000000..a89c4c3 --- /dev/null +++ b/2023/Go/Taskfile.yml @@ -0,0 +1,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 |
