Make sure the fake config.gypi can be parsed by node.js.
This commit is contained in:
parent
9c9d62c3a9
commit
7c2a4882a6
1 changed files with 4 additions and 4 deletions
|
@ -70,10 +70,10 @@ def update_win32_python():
|
|||
|
||||
def touch_config_gypi():
|
||||
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
|
||||
if not os.path.exists(config_gypi):
|
||||
with open(config_gypi, 'w+') as f:
|
||||
f.truncate(0)
|
||||
f.write('{}')
|
||||
with open(config_gypi, 'w+') as f:
|
||||
content = '\n{}'
|
||||
if f.read() != content:
|
||||
f.write(content)
|
||||
|
||||
|
||||
def update_atom_shell():
|
||||
|
|
Loading…
Reference in a new issue