mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
Generate single header even if output dir does not exist
This commit is contained in:
parent
169e260e8b
commit
0020747420
@ -36,6 +36,8 @@ for arg in sys.argv[1:]:
|
|||||||
print( "\n** Unrecognised argument: " + arg + " **\n" )
|
print( "\n** Unrecognised argument: " + arg + " **\n" )
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
# ensure that the output directory exists
|
||||||
|
os.makedirs(os.path.dirname(outputPath), exist_ok = True)
|
||||||
out = open( outputPath, 'w' )
|
out = open( outputPath, 'w' )
|
||||||
ifdefs = 0
|
ifdefs = 0
|
||||||
implIfDefs = -1
|
implIfDefs = -1
|
||||||
|
Loading…
Reference in New Issue
Block a user