Skip to content

Commit 2e8301b

Browse files
committed
Split out tasks
1 parent c82855e commit 2e8301b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

taskfile.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,15 @@ tasks:
2727
cmds:
2828
- "mkdir -p '{{.G_BUILD_DIR}}'"
2929

30+
test-all:
31+
desc: "Runs all unit tests."
32+
deps:
33+
- "build:unit-test-all"
34+
cmds:
35+
- "{{.G_TEST_BIN_DIR}}/unit-test-all"
36+
3037
test-*:
31-
desc: "Runs unit tests for the specified library, or run all tests with `test-all`."
38+
desc: "Runs unit tests for the specified library."
3239
vars:
3340
TEST_TARGET: >-
3441
{{printf "unit-test-%s" (index .MATCH 0)}}

taskfiles/build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ tasks:
4242
msg: |-
4343
{{.LIBRARY}} is not a valid ystdlib-cpp library!
4444
List of libraries:
45-
all (if you don't wish to provide a specific library)
4645
{{- range .G_YSTDLIBS }}
4746
{{.}}
4847
{{- end}}

0 commit comments

Comments
 (0)