summaryrefslogtreecommitdiff
path: root/2023/go/Taskfile.yml
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-11-29 20:23:02 +0100
committerDJ O'Leary <dijitol@proton.me>2025-11-29 20:23:02 +0100
commit4c3a50166bf0f78ce89459c352cc1c6536a8b96d (patch)
tree02e4b66a1435680ef1e92bf82576747b27f16447 /2023/go/Taskfile.yml
parentbe2f8528b3829f8263507da301812d852297c168 (diff)
chore: make language folders snake_case
Diffstat (limited to '2023/go/Taskfile.yml')
-rw-r--r--2023/go/Taskfile.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/2023/go/Taskfile.yml b/2023/go/Taskfile.yml
new file mode 100644
index 0000000..a07c24c
--- /dev/null
+++ b/2023/go/Taskfile.yml
@@ -0,0 +1,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