blob: a07c24c09e0b960d61c8dd6c2323d96f3f329ffd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# https://taskfile.dev
version: "3"
tasks:
default:
desc: Prints this message
cmds:
- cmd: task --list-all
build:
cmds:
- cmd: go build -o=out/Advent_of_Code_2023 main.go
run:
cmds:
- cmd: go run main.go {{.CLI_ARGS}}
test:
cmds:
- cmd: go test ./...
test:coverage:
desc: Runs tests and produce coverage report
cmds:
- cmd: mkdir --parents out
- cmd: go test -coverprofile=out/coverage.out ./...
- cmd: go tool cover -html=out/coverage.out
|