We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c82855e commit 2e8301bCopy full SHA for 2e8301b
taskfile.yaml
@@ -27,8 +27,15 @@ tasks:
27
cmds:
28
- "mkdir -p '{{.G_BUILD_DIR}}'"
29
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
+
37
test-*:
- desc: "Runs unit tests for the specified library, or run all tests with `test-all`."
38
+ desc: "Runs unit tests for the specified library."
39
vars:
40
TEST_TARGET: >-
41
{{printf "unit-test-%s" (index .MATCH 0)}}
taskfiles/build.yaml
@@ -42,7 +42,6 @@ tasks:
42
msg: |-
43
{{.LIBRARY}} is not a valid ystdlib-cpp library!
44
List of libraries:
45
- all (if you don't wish to provide a specific library)
46
{{- range .G_YSTDLIBS }}
47
{{.}}
48
{{- end}}
0 commit comments