From 7dc60b2bea004c202b20bc08fe993ceedc584c83 Mon Sep 17 00:00:00 2001 From: Bingran Hu Date: Thu, 13 Feb 2025 08:52:34 -0500 Subject: [PATCH] rename task to remove the concept of testing --- .github/workflows/unit-tests.yaml | 2 +- README.md | 2 +- taskfiles/build.yaml | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 1429ee8..8071132 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -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" diff --git a/README.md b/README.md index 7dc0519..44fce89 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/taskfiles/build.yaml b/taskfiles/build.yaml index 36ff18f..ef80085 100644 --- a/taskfiles/build.yaml +++ b/taskfiles/build.yaml @@ -7,8 +7,8 @@ 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: @@ -16,8 +16,6 @@ tasks: vars: BUILD_DIR: "{{.G_BUILD_DIR}}" JOBS: "{{numCPU}}" - TARGETS: - - "unitTest" cmake-generate: internal: true @@ -29,6 +27,7 @@ tasks: generates: - "{{.G_CMAKE_CACHE}}" - "{{.G_COMPILE_COMMANDS_DB}}" + run: "once" cmds: - task: ":utils:cmake-generate" vars: