Should install node modules for default_app and spec when bootstrap.
This commit is contained in:
parent
2560782d54
commit
45285c8c9c
1 changed files with 7 additions and 1 deletions
|
@ -56,6 +56,12 @@ def bootstrap_brightray(url):
|
||||||
|
|
||||||
|
|
||||||
def update_node_modules():
|
def update_node_modules():
|
||||||
|
for dirname in ['.', 'browser/default_app', 'spec']:
|
||||||
|
update_node_modules_for_dir(dirname);
|
||||||
|
|
||||||
|
|
||||||
|
def update_node_modules_for_dir(dirname):
|
||||||
|
with scoped_cwd(dirname):
|
||||||
subprocess.check_call(['npm', 'install', '--silent'])
|
subprocess.check_call(['npm', 'install', '--silent'])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue