Skip to content

Commit

Permalink
add lint test and fix errors for wireless_scanner_ros
Browse files Browse the repository at this point in the history
Signed-off-by: Daisuke Sato <[email protected]>
  • Loading branch information
daisukes committed Nov 19, 2024
1 parent 67af65d commit 93d87c6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions wireless_scanner_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ find_package(ament_cmake REQUIRED)
find_package(rclpy REQUIRED)
find_package(std_msgs REQUIRED)

if(BUILD_TESTING)
find_package(ament_cmake_copyright REQUIRED)
find_package(ament_cmake_flake8 REQUIRED)
find_package(ament_cmake_lint_cmake REQUIRED)
find_package(ament_cmake_xmllint REQUIRED)

set(MAX_LINE_LENGTH 200)
ament_copyright()
ament_flake8(MAX_LINE_LENGTH ${MAX_LINE_LENGTH})
ament_lint_cmake()
ament_xmllint()
endif()

install(DIRECTORY launch/ DESTINATION share/${PROJECT_NAME}/launch)

install(PROGRAMS
Expand Down

0 comments on commit 93d87c6

Please sign in to comment.