Skip to content

Commit

Permalink
Replace underscores with hyphens for cmake tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlion committed Oct 23, 2024
1 parent 8f95202 commit 5fd39be
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tasks:
- "install-deps-cpp-outcome"
- "install-deps-cpp-msgpack"
cmds:
- task: "cmake_build"
- task: "cmake-build"
vars:
BUILD_DIR: "{{.G_BUILD_DIR}}"
SOURCE_DIR: "{{.TASKFILE_DIR}}/cpp"
Expand Down Expand Up @@ -64,7 +64,7 @@ tasks:
install-cpp:
deps: ["build-cpp"]
cmds:
- task: "cmake_install"
- task: "cmake-install"
vars:
BUILD_DIR: "{{.G_BUILD_DIR}}"
DATA_PATHS:
Expand Down Expand Up @@ -103,14 +103,14 @@ tasks:
OUTPUT_DIR: "{{.SOURCE_DIR}}"
URL: "https://github.com/msgpack/msgpack-c/archive/cpp-6.1.0.tar.gz"
URL_SHA256: "5e63e4d9b12ab528fccf197f7e6908031039b1fc89cd8da0e97fbcbf5a6c6d3a"
- task: "cmake_build"
- task: "cmake-build"
vars:
BUILD_DIR: "{{.BUILD_DIR}}"
SOURCE_DIR: "{{.SOURCE_DIR}}"
CMAKE_ARGS: >-
-DMSGPACK_CXX20="ON"
-DMSGPACK_USE_BOOST="OFF"
- task: "cmake_install"
- task: "cmake-install"
vars:
BUILD_DIR: "{{.BUILD_DIR}}"
INSTALL_PREFIX: "{{.INSTALL_PREFIX}}"
Expand Down Expand Up @@ -169,8 +169,8 @@ tasks:
## MOVE TO UTILS


cmake_build:
label: "cmake_build: {{.SOURCE_DIR}} {{.BUILD_DIR}}"
cmake-build:
label: "cmake-build: {{.SOURCE_DIR}} {{.BUILD_DIR}}"
internal: true
vars:
CHECKSUM_FILE: '{{default (printf "%s.md5" .BUILD_DIR) .CHECKSUM_FILE}}'
Expand Down Expand Up @@ -209,8 +209,8 @@ tasks:
OUTPUT_FILE: "{{.CHECKSUM_FILE}}"
EXCLUDE_PATHS: ["install_manifest.txt"]

cmake_install:
label: "cmake_install: {{.BUILD_DIR}} {{.INSTALL_PREFIX}}"
cmake-install:
label: "cmake-install: {{.BUILD_DIR}} {{.INSTALL_PREFIX}}"
internal: true
vars:
CHECKSUM_FILE: '{{default (printf "%s.md5" .INSTALL_PREFIX) .CHECKSUM_FILE}}'
Expand Down

0 comments on commit 5fd39be

Please sign in to comment.