ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
47 stars 89 forks source link

Optionally don't put comments in generated files #300

Open lucasw opened 3 years ago

lucasw commented 3 years ago

The <!-- replace won't work with multi-line comments, but package.xml.in hasn't any and hasn't changed in 3 years.

Example:

catkin_create_pkg --no_comments test
Created file test/package.xml
Created file test/CMakeLists.txt
Successfully created files in /home/lucasw/ros/test. Please adjust the values in package.xml.
cat test/package.xml
<?xml version="1.0"?>
<package format="2">
  <name>test</name>
  <version>0.0.0</version>
  <description>The test package</description>

  <maintainer email="lucasw@todo.todo">lucasw</maintainer>

  <license>TODO</license>

  <buildtool_depend>catkin</buildtool_depend>

  <export>

  </export>
</package>