Compare commits
2 Commits
a8f4d55123
...
ee12876350
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee12876350 | ||
|
|
0d9c25cf45 |
2
external/scons-plus-plus
vendored
2
external/scons-plus-plus
vendored
@ -1 +1 @@
|
|||||||
Subproject commit e583c5ef6c1a8dbce941014aa3ce995f2d53d05b
|
Subproject commit 8770bd97dc12ea2d28e45d42157534324a151032
|
||||||
@ -44,11 +44,12 @@ def update_spp() -> None:
|
|||||||
try:
|
try:
|
||||||
exec_checked(['git', 'fetch', 'origin', 'master'])
|
exec_checked(['git', 'fetch', 'origin', 'master'])
|
||||||
exec_checked(['git', 'checkout', 'master'])
|
exec_checked(['git', 'checkout', 'master'])
|
||||||
|
exec_checked(['git', 'pull'])
|
||||||
|
finally:
|
||||||
|
os.chdir(_root)
|
||||||
output = exec_get_output(['git', 'status', '--porcelain'])
|
output = exec_get_output(['git', 'status', '--porcelain'])
|
||||||
if output.strip() == '':
|
if output.strip() == '':
|
||||||
return
|
return
|
||||||
finally:
|
|
||||||
os.chdir(_root)
|
|
||||||
_logger.info('Changes in SCons++ detected, creating commit.')
|
_logger.info('Changes in SCons++ detected, creating commit.')
|
||||||
exec_checked(['git', 'commit', '-m', 'Updated Scons++', 'external/scons-plus-plus'])
|
exec_checked(['git', 'commit', '-m', 'Updated Scons++', 'external/scons-plus-plus'])
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user