Provide these from .npmrc.

This commit is contained in:
joshaber
2015-12-09 15:44:38 -05:00
parent 538ff83448
commit 0baf653b99
2 changed files with 3 additions and 7 deletions

3
.npmrc
View File

@@ -1 +1,4 @@
cache = ~/.atom/.npm
runtime = electron
target = 0.34.5
disturl = https://atom.io/download/atom-shell

View File

@@ -45,13 +45,6 @@ function setEnvironmentVariables() {
process.env.BUILD_ATOM_RELEASES_S3_SECRET = process.env.BUILD_ATOM_WIN_RELEASES_S3_SECRET
process.env.BUILD_ATOM_RELEASES_S3_BUCKET = process.env.BUILD_ATOM_WIN_RELEASES_S3_BUCKET
}
// `node-pre-gyp` will look for these when determining which binary to
// download or how to rebuild.
process.env.npm_config_runtime = 'electron';
// TODO: get this from package.json
process.env.npm_config_target = '0.34.5';
process.env.npm_config_disturl = 'https://atom.io/download/atom-shell';
}
function removeNodeModules() {