mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-29 07:59:25 +00: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:
parent
fc32165d48
commit
93f84b5b0d
3 changed files with 19 additions and 27 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue