Skip to content

Commit

Permalink
add code check
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Apr 1, 2020
1 parent 694e763 commit 931a52b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ install(DIRECTORY launch config
DESTINATION share/${PROJECT_NAME}
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set (ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set (ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()

ament_export_libraries(color_names)
ament_export_include_directories(include)
ament_package()
ament_package()

0 comments on commit 931a52b

Please sign in to comment.