Skip to content

Commit

Permalink
rename task to remove the concept of testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-hbrhbr committed Feb 13, 2025
1 parent 54b4320 commit 7dc60b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
# TODO: Change the task to run all unittests once any unittest is added. Until then we check
# that building the project succeeds.
- run: "task build:unittest"
- run: "task build:all"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ git submodule update --init --recursive
## Building
To build all targets in `ystdlib-cpp`:
```shell
task build:target
task build:all
```

## Linting
Expand Down
7 changes: 3 additions & 4 deletions taskfiles/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ vars:
G_COMPILE_COMMANDS_DB: "{{.G_BUILD_DIR}}/compile_commands.json"

tasks:
unittest:
desc: "Builds and runs ystdlib-cpp's unittest."
all:
desc: "Builds ystdlib-cpp."
deps:
- "cmake-generate"
cmds:
- task: ":utils:cmake-build"
vars:
BUILD_DIR: "{{.G_BUILD_DIR}}"
JOBS: "{{numCPU}}"
TARGETS:
- "unitTest"

cmake-generate:
internal: true
Expand All @@ -29,6 +27,7 @@ tasks:
generates:
- "{{.G_CMAKE_CACHE}}"
- "{{.G_COMPILE_COMMANDS_DB}}"
run: "once"
cmds:
- task: ":utils:cmake-generate"
vars:
Expand Down

0 comments on commit 7dc60b2

Please sign in to comment.