Add nice license headers to files in examples/ and fuzzing/

Related to #2730
This commit is contained in:
Martin Hořeňovský
2023-08-24 16:33:15 +02:00
parent 5bba3e4038
commit 85eb4652b4
21 changed files with 152 additions and 4 deletions

View File

@@ -33,7 +33,8 @@ def check_licences_in_path(path: str) -> int:
def check_licences():
failed = 0
roots = ['src/catch2', 'tests']
# Add 'extras' after the amalgamted files are regenerated with the new script (past 3.4.0)
roots = ['src/catch2', 'tests', 'examples', 'fuzzing']
for root in roots:
failed += check_licences_in_path(root)

View File

@@ -31,6 +31,7 @@ copyright_lines = [
# The header of the amalgamated file: copyright information + explanation
# what this file is.
file_header = '''\
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at