mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
Better CMake.ModulesNotice test regex
This commit updates the copyright notice regex to enforce a more strict format for contributor copyrights.
This commit is contained in:
parent
26efeadd22
commit
62edb7b943
@ -1,9 +1,10 @@
|
||||
# Regex to match copyright/license notices.
|
||||
# We require the Kitware copyright on the first line, but the ".*" can
|
||||
# We require the Kitware copyright on the first line, but this can
|
||||
# match any additional copyright holder notices.
|
||||
set(notice_regex "
|
||||
#=============================================================================
|
||||
# Copyright (20[0-9][0-9]-)?20[0-9][0-9] Kitware.*
|
||||
# Copyright (20[0-9][0-9]-)?20[0-9][0-9] Kitware[^\n]+(
|
||||
# Copyright (20[0-9][0-9]-)?20[0-9][0-9] [^\n]+)*
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License \\(the \"License\"\\);
|
||||
# see accompanying file Copyright\\.txt for details\\.
|
||||
|
Loading…
Reference in New Issue
Block a user