Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 11, 2024
1 parent 7bc8e66 commit 09cdace
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ macro(RELEASE_SETUP)
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Update pixi.toml"
COMMAND
# cmake-format: off
# cmake-format: off
${PYTHON_EXECUTABLE} ${PROJECT_JRL_CMAKE_MODULE_DIR}/pixi.py $$VERSION &&
if ! (git diff --quiet pixi.toml) ; then
(
Expand All @@ -123,15 +123,15 @@ macro(RELEASE_SETUP)
echo "Updated pixi.toml and committed"
) ; fi
# cmake-format: on
)
)

set(BUILD_CMD ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target)
add_custom_target(
release
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Create a new release"
COMMAND
# cmake-format: off
# cmake-format: off
export LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH} &&
export ${LD_LIBRARY_PATH_VARIABLE_NAME}=$ENV{${LD_LIBRARY_PATH_VARIABLE_NAME}} &&
export PYTHONPATH=$ENV{PYTHONPATH} &&
Expand Down

0 comments on commit 09cdace

Please sign in to comment.