Only create config.gypi if it doesn't exist.
Otherwise every call of bootstrap would trigger recompilation of some files.
This commit is contained in:
parent
84b8442ef8
commit
dc1655979e
1 changed files with 3 additions and 2 deletions
|
@ -70,8 +70,9 @@ def update_win32_python():
|
|||
|
||||
def touch_config_gypi():
|
||||
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
|
||||
with open(config_gypi, 'w+') as f:
|
||||
f.truncate(0)
|
||||
if not os.path.exists(config_gypi):
|
||||
with open(config_gypi, 'w+') as f:
|
||||
f.truncate(0)
|
||||
|
||||
|
||||
def update_atom_shell():
|
||||
|
|
Loading…
Reference in a new issue