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

Commit

Permalink
Updated npmrc and cibuild and verified this works on macOS
Browse files Browse the repository at this point in the history
Auditors: @bbondy, @bridiver
  • Loading branch information
bsclifton committed Mar 24, 2017
1 parent 6f039f5 commit ffa6f8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
runtime = node
target = 7.4.0
target_arch = x64
brave_electron_version = 2.57.0
chromedriver_version = 2.27
6 changes: 3 additions & 3 deletions tools/cibuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os.path

MUON_VERSION = '2.57.0'
NODE_VERSION = '7.4.0'
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'
os.environ['npm_config_arch'] = TARGET_ARCH
Expand All @@ -24,9 +24,9 @@ def execute(argv, env=os.environ):

def write_npmrc():
data = 'runtime = node\n' \
'target = %s\n' \
'target_arch = %s\n' \
'brave_electron_version = %s\n' % (NODE_VERSION, TARGET_ARCH, MUON_VERSION)
'brave_electron_version = %s\n' \
'chromedriver_version = %s\n' % (TARGET_ARCH, MUON_VERSION, CHROMEDRIVER_VERSION)
f = open('.npmrc','wb')
f.write(data)
f.close()
Expand Down

0 comments on commit ffa6f8f

Please sign in to comment.