Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Fix cibuild script for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bbondy committed Dec 28, 2015
1 parent fecf6a6 commit 2f5ba6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"private": true,
"scripts": {
"preinstall": "node -e 'process.exit(0)'",
"cibuild-windows": "rm -Rf node_mdules && python ./script/cibuild --target_arch=x64",
"test": "python ./script/test.py"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def main():

# CI's npm is not reliable.
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
execute([npm, 'install', 'npm@2.12.1'])
execute([npm, 'install', 'npm@3.3.12'])

is_release = os.environ.has_key('ELECTRON_RELEASE')
args = ['--target_arch=' + target_arch]
Expand Down
2 changes: 1 addition & 1 deletion script/install-sysroot.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def main():
print 'Downloading %s' % url
sys.stdout.flush()
sys.stderr.flush()
subprocess.check_call(['curl', '--fail', '-L', url, '-o', tarball])
subprocess.check_call(['curl', 'retry', 90, '--fail', '-L', url, '-o', tarball])
sha1sum = GetSha1(tarball)
if sha1sum != tarball_sha1sum:
print 'Tarball sha1sum is wrong.'
Expand Down

0 comments on commit 2f5ba6d

Please sign in to comment.