From f9ed9acd0ad64d36f2e82f61612523bbbf524b5f Mon Sep 17 00:00:00 2001 From: Kirk Rodrigues <2454684+kirkrodrigues@users.noreply.github.com> Date: Sun, 6 Oct 2024 12:59:21 -0400 Subject: [PATCH] Move config-cmake-project to internal tasks section. --- Taskfile.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 0f2296bc..62cf55ee 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -57,24 +57,6 @@ tasks: DATA_DIR: "{{.OUTPUT_DIR}}" OUTPUT_FILE: "{{.CHECKSUM_FILE}}" - config-cmake-project: - internal: true - sources: - - "{{.G_EMSDK_CHECKSUM}}" - - "{{.TASKFILE}}" - - "CMakeLists.txt" - generates: - - "{{.G_CLP_FFI_JS_BUILD_DIR}}/CMakeCache.txt" - - "{{.G_CLP_FFI_JS_BUILD_DIR}}/compile_commands.json" - deps: ["emsdk"] - cmd: |- - cmake \ - -G "Unix Makefiles" \ - -DCMAKE_TOOLCHAIN_FILE="{{.G_EMSDK_DIR}}/upstream/emscripten/cmake/Modules/Platform/\ - Emscripten.cmake" \ - -S "{{.ROOT_DIR}}" \ - -B "{{.G_CLP_FFI_JS_BUILD_DIR}}" - emsdk: vars: CHECKSUM_FILE: "{{.G_EMSDK_CHECKSUM}}" @@ -144,6 +126,24 @@ tasks: DATA_DIR: "{{.OUTPUT_DIR}}" OUTPUT_FILE: "{{.CHECKSUM_FILE}}" + config-cmake-project: + internal: true + sources: + - "{{.G_EMSDK_CHECKSUM}}" + - "{{.TASKFILE}}" + - "CMakeLists.txt" + generates: + - "{{.G_CLP_FFI_JS_BUILD_DIR}}/CMakeCache.txt" + - "{{.G_CLP_FFI_JS_BUILD_DIR}}/compile_commands.json" + deps: ["emsdk"] + cmd: |- + cmake \ + -G "Unix Makefiles" \ + -DCMAKE_TOOLCHAIN_FILE="{{.G_EMSDK_DIR}}/upstream/emscripten/cmake/Modules/Platform/\ + Emscripten.cmake" \ + -S "{{.ROOT_DIR}}" \ + -B "{{.G_CLP_FFI_JS_BUILD_DIR}}" + init: internal: true silent: true