Skip to content
This repository has been archived by the owner. It is now read-only.

2.58.5 and new npmrc config #8460

Merged
merged 1 commit into from Apr 24, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

8 .npmrc
@@ -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
@@ -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'
@@ -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()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.