Open
Description
I'm trying to upgrade some packages to use ament_cmake_auto
and ament_lint_auto
but it seems that ament_lint_auto
only lints the first version of the source file, and does not update between builds. Here is my CMakeLists.txt.
- I clean my build environment.
- I then run
colcon build
&colcon test
- I have no linting errors
- I insert some linter errors into the source file (such as whitespace at EOL)
- run
colcon build
&colcon test
- I have no linting errors
- I clean my build environment.
- I then run
colcon build
&colcon test
- I have linting errors
Works as expected if I replace find_package(ament_lint_auto REQUIRED)
with
find_package(ament_cmake_gtest REQUIRED)
find_package(ament_lint_auto REQUIRED)
find_package(ament_cmake_cppcheck REQUIRED)
find_package(ament_cmake_cpplint REQUIRED)
find_package(ament_cmake_xmllint REQUIRED)