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

Commit

Permalink
2.58.5 and new npmrc config
Browse files Browse the repository at this point in the history
  • Loading branch information
bbondy committed Apr 24, 2017
1 parent b2e4b71 commit 3f589aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
runtime = node
runtime = electron
target_arch = x64
brave_electron_version = 2.58.4
brave_electron_version = 2.58.5
chromedriver_version = 2.27
target = v7.4.0
target = v2.58.5
disturl=http://brave-laptop-binaries.s3.amazonaws.com/atom-shell/dist/
build_from_source = true
9 changes: 6 additions & 3 deletions tools/cibuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import subprocess
import sys
import os.path
MUON_VERSION = '2.58.4'
MUON_VERSION = '2.58.5'
CHROMEDRIVER_VERSION = '2.27'
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
TARGET_ARCH= os.environ['TARGET_ARCH'] if os.environ.has_key('TARGET_ARCH') else 'x64'
Expand All @@ -21,10 +21,13 @@ def execute(argv, env=os.environ):
raise e

def write_npmrc():
data = 'runtime = node\n' \
data = 'runtime = electron\n' \
'target_arch = %s\n' \
'brave_electron_version = %s\n' \
'chromedriver_version = %s\n' % (TARGET_ARCH, MUON_VERSION, CHROMEDRIVER_VERSION)
'chromedriver_version = %s\n' \
'target = v%s\n' \
'disturl=http://brave-laptop-binaries.s3.amazonaws.com/atom-shell/dist/\n' \
'build_from_source = true' % (TARGET_ARCH, MUON_VERSION, CHROMEDRIVER_VERSION, MUON_VERSION)
f = open('.npmrc','wb')
f.write(data)
f.close()
Expand Down

0 comments on commit 3f589aa

Please sign in to comment.