diff options
| author | Martin Hořeňovský | 2023-08-24 16:33:15 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-08-24 16:34:31 +0200 |
| commit | 85eb4652b46cc69c4ad7915c9fd3b009d99e9fb7 (patch) | |
| tree | 8b0ed302106c4ffe875701d7823aa72480d432e9 /tools | |
| parent | 5bba3e4038602badb691da914523f667a2dd1f27 (diff) | |
| download | catch3-85eb4652b46cc69c4ad7915c9fd3b009d99e9fb7.tar.gz | |
Add nice license headers to files in examples/ and fuzzing/
Related to #2730
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/scripts/checkLicense.py | 3 | ||||
| -rwxr-xr-x | tools/scripts/generateAmalgamatedFiles.py | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/scripts/checkLicense.py b/tools/scripts/checkLicense.py index 9a949769..7078d3ec 100755 --- a/tools/scripts/checkLicense.py +++ b/tools/scripts/checkLicense.py @@ -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) diff --git a/tools/scripts/generateAmalgamatedFiles.py b/tools/scripts/generateAmalgamatedFiles.py index 402473ce..e3e86aab 100755 --- a/tools/scripts/generateAmalgamatedFiles.py +++ b/tools/scripts/generateAmalgamatedFiles.py @@ -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 |