Skip to content

Commit

Permalink
Improvements to ament_lint_clang_tidy. (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich authored Aug 31, 2021
1 parent bfe815f commit 1f5c6bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ament_clang_tidy/ament_clang_tidy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ def main(argv=sys.argv[1:]):
return 1

bin_names = [
# 'clang-tidy',
'clang-tidy',
'clang-tidy-10',
'clang-tidy-11',
'clang-tidy-6.0',
]
clang_tidy_bin = find_executable(bin_names)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ file(GLOB_RECURSE _source_files FOLLOW_SYMLINKS
)
if(_source_files)
message(STATUS "Added test 'clang_tidy' to check C / C++ code style")
ament_clang_tidy()
ament_clang_tidy("${CMAKE_CURRENT_BINARY_DIR}")
endif()

0 comments on commit 1f5c6bb

Please sign in to comment.