From: Cheng Zhao Date: Mon, 28 Apr 2014 03:42:14 +0000 (+0800) Subject: No need to install npm any more, the one in CI is new enough. X-Git-Tag: v0.12.0~8^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6337888a346cd384d052d3842a15167429c09707;p=electron.git No need to install npm any more, the one in CI is new enough. --- diff --git a/script/bootstrap.py b/script/bootstrap.py index 4bdc94bc..ba24438e 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -20,7 +20,6 @@ def main(): args = parse_args() update_submodules() - update_npm() update_node_modules('.') update_atom_modules('atom/browser/default_app') bootstrap_brightray(args.url) @@ -53,14 +52,6 @@ def bootstrap_brightray(url): url]) -def update_npm(): - global NPM - if os.environ.get('CI') == '1': - execute([NPM, 'install', 'npm']) - NPM = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'npm') - if sys.platform == 'win32': - NPM += '.cmd' - def update_node_modules(dirname): with scoped_cwd(dirname): execute([NPM, 'install'])