Skip to content

Commit

Permalink
Add roslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Taka-Kazu committed Jun 18, 2023
1 parent 77b2d85 commit eab2410
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ target_link_libraries(trajectory_viewer
)

if(CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_subdirectory(test)
find_package(roslint REQUIRED)
roslint_cpp()
roslint_add_test()

find_package(rostest REQUIRED)
add_subdirectory(test)
endif()
3 changes: 2 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
<exec_depend>rospy</exec_depend>
<exec_depend>std_msgs</exec_depend>
<exec_depend>cmake_modules</exec_depend>
<test_depend>rosunit</test_depend>
<test_depend>rostest</test_depend>
<test_depend>roslint</test_depend>


<!-- The export tag contains other, unspecified, tags -->
Expand Down

0 comments on commit eab2410

Please sign in to comment.