From 220e0b818f1fea7b2706791b3550e7008c1931c3 Mon Sep 17 00:00:00 2001 From: Jan Hernas <40989249+jasiex01@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:33:01 +0100 Subject: [PATCH] Add dummy .sh files for .dsv hooks (#8) * Add dummy .sh files for .dsv hooks * Add back .in extension to worlds hook (cherry picked from commit 4b66204068e208174d5bebd2e63edc0e1f99285c) --- leo_gz_plugins/CMakeLists.txt | 1 + leo_gz_plugins/hooks/gz_sim_system_plugin_path.sh | 0 leo_gz_worlds/CMakeLists.txt | 1 + leo_gz_worlds/hooks/gz_sim_resource_path.sh | 0 4 files changed, 2 insertions(+) create mode 100644 leo_gz_plugins/hooks/gz_sim_system_plugin_path.sh create mode 100644 leo_gz_worlds/hooks/gz_sim_resource_path.sh diff --git a/leo_gz_plugins/CMakeLists.txt b/leo_gz_plugins/CMakeLists.txt index 0bcefe7..5a172fc 100644 --- a/leo_gz_plugins/CMakeLists.txt +++ b/leo_gz_plugins/CMakeLists.txt @@ -63,6 +63,7 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() endif() +ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_system_plugin_path.sh") ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_system_plugin_path.dsv") ament_package() diff --git a/leo_gz_plugins/hooks/gz_sim_system_plugin_path.sh b/leo_gz_plugins/hooks/gz_sim_system_plugin_path.sh new file mode 100644 index 0000000..e69de29 diff --git a/leo_gz_worlds/CMakeLists.txt b/leo_gz_worlds/CMakeLists.txt index a447add..145afd0 100644 --- a/leo_gz_worlds/CMakeLists.txt +++ b/leo_gz_worlds/CMakeLists.txt @@ -19,6 +19,7 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() endif() +ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_resource_path.sh") ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_resource_path.dsv.in") ament_package() diff --git a/leo_gz_worlds/hooks/gz_sim_resource_path.sh b/leo_gz_worlds/hooks/gz_sim_resource_path.sh new file mode 100644 index 0000000..e69de29