Compare commits

...

2 Commits

Author SHA1 Message Date
Patrick Wuttke
ee12876350 Changed how init_project.py detects if S++ has been updated. 2025-07-04 14:50:03 +02:00
Patrick Wuttke
0d9c25cf45 Updated Scons++ 2025-07-04 14:49:11 +02:00
2 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit e583c5ef6c1a8dbce941014aa3ce995f2d53d05b
Subproject commit 8770bd97dc12ea2d28e45d42157534324a151032

View File

@ -44,11 +44,12 @@ def update_spp() -> None:
try:
exec_checked(['git', 'fetch', 'origin', 'master'])
exec_checked(['git', 'checkout', 'master'])
exec_checked(['git', 'pull'])
finally:
os.chdir(_root)
output = exec_get_output(['git', 'status', '--porcelain'])
if output.strip() == '':
return
finally:
os.chdir(_root)
_logger.info('Changes in SCons++ detected, creating commit.')
exec_checked(['git', 'commit', '-m', 'Updated Scons++', 'external/scons-plus-plus'])