Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove check of source files done in lint hook #247

Merged
merged 2 commits into from
May 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions ament_cmake_copyright/cmake/ament_cmake_copyright_lint_hook.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

file(GLOB_RECURSE _source_files FOLLOW_SYMLINKS
"*.cmake"

"*.c"
"*.cc"
"*.cpp"
"*.cxx"
"*.h"
"*.hh"
"*.hpp"
"*.hxx"

"*.py"
)
if(_source_files)
message(STATUS "Added test 'copyright' to check for copyright in CMake / C / C++ / Python code")
ament_copyright()
endif()
message(
STATUS
"Added test 'copyright' to check source files copyright and LICENSE")
ament_copyright()