From a82736f0414c96428008111a630c0b795458cab6 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Fri, 10 Dec 2021 21:27:43 +0300 Subject: [PATCH] Rename roswww_static main.py to update --- clover/www/index.html | 2 +- roswww_static/CMakeLists.txt | 4 ++-- roswww_static/README.md | 4 ++-- roswww_static/launch/example.launch | 2 +- roswww_static/{main.py => update} | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename roswww_static/{main.py => update} (100%) diff --git a/clover/www/index.html b/clover/www/index.html index 28914662..b74c771d 100644 --- a/clover/www/index.html +++ b/clover/www/index.html @@ -13,7 +13,7 @@

- Update www using rosrun roswww_static main.py. + Update www using rosrun roswww_static update.

diff --git a/roswww_static/CMakeLists.txt b/roswww_static/CMakeLists.txt index 9b32cadb..26ba9d63 100644 --- a/roswww_static/CMakeLists.txt +++ b/roswww_static/CMakeLists.txt @@ -7,9 +7,9 @@ catkin_package() install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) -catkin_install_python(PROGRAMS main.py +catkin_install_python(PROGRAMS update DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) add_custom_target(roswww_static ALL - COMMAND rosrun roswww_static main.py) + COMMAND rosrun roswww_static update) diff --git a/roswww_static/README.md b/roswww_static/README.md index ae6508e1..e17646a2 100644 --- a/roswww_static/README.md +++ b/roswww_static/README.md @@ -6,10 +6,10 @@ Note: you should configure your web server to make it follow symlinks. ## Instructions -* Run `main.py` node and it will generate the symlinks and index file. +* Run `update` node and it will generate the symlinks and index file: `rosrun roswww_static update`. * Point your static web server path to `~/.ros/www`. -You can rerun `main.py` if the list of installed packages changes. +You can rerun `update` if the list of installed packages changes. ## Parameters diff --git a/roswww_static/launch/example.launch b/roswww_static/launch/example.launch index 3732081f..baacd1b2 100644 --- a/roswww_static/launch/example.launch +++ b/roswww_static/launch/example.launch @@ -1,5 +1,5 @@ - + diff --git a/roswww_static/main.py b/roswww_static/update similarity index 100% rename from roswww_static/main.py rename to roswww_static/update