]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove unused -s option of bootstrap.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 28 Feb 2014 12:44:57 +0000 (20:44 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 28 Feb 2014 12:44:57 +0000 (20:44 +0800)
script/bootstrap.py

index b4101cd10f0243ea15843bb30b4357d4dd5f32ad..d583c0cae104d459eeb45cda71d53e2b110bc8c4 100755 (executable)
@@ -18,13 +18,12 @@ def main():
   os.chdir(SOURCE_ROOT)
 
   args = parse_args()
-  if not args.skip_network:
-    update_submodules()
-    update_apm()
-    update_node_modules()
-    bootstrap_brightray(args.url)
-    if sys.platform == 'cygwin':
-      update_win32_python()
+  update_submodules()
+  update_apm()
+  update_node_modules()
+  bootstrap_brightray(args.url)
+  if sys.platform == 'cygwin':
+    update_win32_python()
 
   touch_config_gypi()
   update_atom_shell()
@@ -38,9 +37,6 @@ def parse_args():
                       'libchromiumcontent\'s script/upload script',
                       default=BASE_URL,
                       required=False)
-  parser.add_argument('-s', '--skip-network',
-                      help='Skip operations require networking',
-                      action='store_true')
   return parser.parse_args()