mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-28 07:59:32 +01:00
Modified generateSingleHeader script to work with .cpp files better
Also fixed the scripts to take into account renamed version file
This commit is contained in:
@@ -9,7 +9,7 @@ from scriptCommon import catchPath
|
||||
|
||||
versionParser = re.compile( r'(\s*static\sVersion\sversion)\s*\(\s*(.*)\s*,\s*(.*)\s*,\s*(.*)\s*,\s*\"(.*)\"\s*,\s*(.*)\s*\).*' )
|
||||
rootPath = os.path.join( catchPath, 'include/' )
|
||||
versionPath = os.path.join( rootPath, "internal/catch_version.hpp" )
|
||||
versionPath = os.path.join( rootPath, "internal/catch_version.cpp" )
|
||||
readmePath = os.path.join( catchPath, "README.md" )
|
||||
|
||||
class Version:
|
||||
|
||||
Reference in New Issue
Block a user