summaryrefslogtreecommitdiff
path: root/go/2023/Taskfile.yml
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2026-06-26 18:04:09 +0200
committerDJ O'Leary <dijitol@proton.me>2026-06-26 18:04:09 +0200
commit6d8fb621d1e93b83786890d6d9cb6f0d8defa8ae (patch)
tree17c90d3984c114aa023600cc5bec6f6004b02243 /go/2023/Taskfile.yml
parentad4ea5ca4bc9f7540ee1d6a4fa2d881709dc6459 (diff)
refactor!: invert repo directory structure
now is language first
Diffstat (limited to 'go/2023/Taskfile.yml')
-rw-r--r--go/2023/Taskfile.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/go/2023/Taskfile.yml b/go/2023/Taskfile.yml
new file mode 100644
index 0000000..a07c24c
--- /dev/null
+++ b/go/2023/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