Skip to content

Commit 7dc60b2

Browse files
committed
rename task to remove the concept of testing
1 parent 54b4320 commit 7dc60b2

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ jobs:
6363
6464
# TODO: Change the task to run all unittests once any unittest is added. Until then we check
6565
# that building the project succeeds.
66-
- run: "task build:unittest"
66+
- run: "task build:all"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ git submodule update --init --recursive
3030
## Building
3131
To build all targets in `ystdlib-cpp`:
3232
```shell
33-
task build:target
33+
task build:all
3434
```
3535

3636
## Linting

taskfiles/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@ vars:
77
G_COMPILE_COMMANDS_DB: "{{.G_BUILD_DIR}}/compile_commands.json"
88

99
tasks:
10-
unittest:
11-
desc: "Builds and runs ystdlib-cpp's unittest."
10+
all:
11+
desc: "Builds ystdlib-cpp."
1212
deps:
1313
- "cmake-generate"
1414
cmds:
1515
- task: ":utils:cmake-build"
1616
vars:
1717
BUILD_DIR: "{{.G_BUILD_DIR}}"
1818
JOBS: "{{numCPU}}"
19-
TARGETS:
20-
- "unitTest"
2119

2220
cmake-generate:
2321
internal: true
@@ -29,6 +27,7 @@ tasks:
2927
generates:
3028
- "{{.G_CMAKE_CACHE}}"
3129
- "{{.G_COMPILE_COMMANDS_DB}}"
30+
run: "once"
3231
cmds:
3332
- task: ":utils:cmake-generate"
3433
vars:

0 commit comments

Comments
 (0)