From 6d8fb621d1e93b83786890d6d9cb6f0d8defa8ae Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Fri, 26 Jun 2026 18:04:09 +0200 Subject: refactor!: invert repo directory structure now is language first --- go/2023/Taskfile.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 go/2023/Taskfile.yml (limited to 'go/2023/Taskfile.yml') 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 -- cgit v1.2.3