Discard the extra node binary.

We now use atom-shell's binary to execute scripts.
This commit is contained in:
Cheng Zhao 2013-08-08 16:24:27 +08:00
parent 574811fee0
commit 317bd0debf
6 changed files with 1 additions and 117 deletions

View file

@ -11,7 +11,6 @@ from lib.util import *
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
VENDOR_DIR = os.path.join(SOURCE_ROOT, 'vendor')
NODE_VERSION = 'v0.10.15'
BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'
PYTHON_26_URL = 'https://chromium.googlesource.com/chromium/deps/python_26'
@ -22,7 +21,6 @@ def main():
args = parse_args()
if not args.skip_network:
update_submodules()
update_node()
update_apm()
update_node_modules()
bootstrap_brightray(args.url)
@ -53,11 +51,6 @@ def update_submodules():
'--recursive'])
def update_node():
un = os.path.join('script', 'update-node.py')
subprocess.check_call([sys.executable, un, '--version', NODE_VERSION])
def bootstrap_brightray(url):
bootstrap = os.path.join(VENDOR_DIR, 'brightray', 'script', 'bootstrap')
subprocess.check_call([sys.executable, bootstrap, url])