projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b8442
)
Only create config.gypi if it doesn't exist.
author
Cheng Zhao
<zcbenz@gmail.com>
Tue, 2 Jul 2013 01:31:43 +0000
(09:31 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Tue, 2 Jul 2013 01:31:43 +0000
(09:31 +0800)
Otherwise every call of bootstrap would trigger recompilation of some
files.
script/bootstrap.py
patch
|
blob
|
history
diff --git
a/script/bootstrap.py
b/script/bootstrap.py
index
a90df1a
..
73bae35
100755
(executable)
--- a/
script/bootstrap.py
+++ b/
script/bootstrap.py
@@
-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():