mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Add nice license headers to files in examples/ and fuzzing/
Related to #2730
This commit is contained in:
		@@ -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)
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user