Don't throw exception when gyp fails.
This makes output cleaner when we got a gyp error.
This commit is contained in:
parent
dc1655979e
commit
e87a7c286c
1 changed files with 4 additions and 4 deletions
|
@ -31,10 +31,10 @@ def update_gyp():
|
|||
python = sys.executable
|
||||
if sys.platform == 'cygwin':
|
||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||
subprocess.check_call([python, gyp,
|
||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||
'-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
|
||||
'-Dtarget_arch=ia32', '-Dlibrary=static_library'])
|
||||
subprocess.call([python, gyp,
|
||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||
'-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
|
||||
'-Dtarget_arch=ia32', '-Dlibrary=static_library'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Reference in a new issue