|
|
@@ -1,5 +1,6 @@
|
|
|
#-------------------------------------------------------------------------------------------------------
|
|
|
# Copyright (C) Microsoft. All rights reserved.
|
|
|
+# Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
|
|
|
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
|
|
|
#-------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
@@ -13,6 +14,7 @@ import re
|
|
|
copyright_lines = [
|
|
|
r'-------------------------------------------------------------------------------------------------------',
|
|
|
r' Copyright \(C\) Microsoft( Corporation and contributors)?\. All rights reserved\.',
|
|
|
+ r' Copyright \(c\) 2021 ChakraCore Project Contributors\. All rights reserved\.',
|
|
|
r' Licensed under the MIT license\. See LICENSE\.txt file in the project root for full license information\.',
|
|
|
r'.*' # the above should always be followed by at least one other line, so make sure that line is present
|
|
|
]
|
|
|
@@ -33,7 +35,7 @@ if not os.path.isfile(file_name):
|
|
|
|
|
|
def report_incorrect(file_name, pairs):
|
|
|
# found a problem so report the problem to the caller and exit
|
|
|
- print(file_name, "... does not contain a correct Microsoft copyright notice.\n")
|
|
|
+ print(file_name, "... does not contain a correct copyright notice.\n")
|
|
|
# print the relevant lines to help the reader find the problem
|
|
|
for (_, line) in pairs:
|
|
|
print(" ", line, end="")
|