mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-27 17:42:59 +08:00
fix(setup): update atom shell download task
This commit is contained in:
parent
730ba06c47
commit
fb230d4e0d
2 changed files with 11 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "atom-build",
|
||||
"description": "Atom build",
|
||||
"name": "edgehill-build",
|
||||
"description": "Edgehill build",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/atom/atom.git"
|
||||
"url": "https://github.com/nylas/edgehill.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"archiver": "^0.13",
|
||||
|
@ -15,7 +15,7 @@
|
|||
"fs-plus": "2.x",
|
||||
"github-releases": "~0.2.0",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-atom-shell-installer": "^0.20.0",
|
||||
"grunt-atom-shell-installer": "^0.29.0",
|
||||
"grunt-cli": "~0.1.9",
|
||||
"grunt-coffeelint": "git+https://github.com/atom/grunt-coffeelint.git#cfb99aa99811d52687969532bd5a98011ed95bfe",
|
||||
"grunt-coffeelint-cjsx": "^0.1",
|
||||
|
@ -23,7 +23,7 @@
|
|||
"grunt-contrib-csslint": "~0.1.2",
|
||||
"grunt-contrib-less": "~0.8.0",
|
||||
"grunt-cson": "0.14.0",
|
||||
"grunt-download-atom-shell": "~0.11.0",
|
||||
"grunt-download-atom-shell": "~0.14.0",
|
||||
"grunt-lesslint": "0.13.0",
|
||||
"grunt-markdown": "^0.7.0",
|
||||
"grunt-peg": "~1.1.0",
|
||||
|
|
|
@ -45,6 +45,8 @@ function bootstrap() {
|
|||
var initialNpmCommand = fs.existsSync(npmPath) ? npmPath : 'npm';
|
||||
var npmFlags = ' --userconfig=' + path.resolve('.npmrc') + ' ';
|
||||
|
||||
var gruntPath = path.resolve(__dirname, '..', 'build', 'node_modules', '.bin', 'grunt');
|
||||
|
||||
var packagesToDedupe = ['fs-plus', 'humanize-plus', 'oniguruma', 'roaster', 'season', 'grim'];
|
||||
|
||||
var buildInstallCommand = initialNpmCommand + npmFlags + 'install';
|
||||
|
@ -93,7 +95,9 @@ function bootstrap() {
|
|||
m6 += " $ apm request semver "+printArgs(semverOptions)+"\n"
|
||||
|
||||
m7 = "---> Getting latest Atom Shell\n\n"
|
||||
m7 += " $ build/node_modules/.bin/grunt download-atom-shell --gruntfile build/Gruntfile.coffee\n"
|
||||
var gruntCmd = ""
|
||||
var downloadAtomShellCmd = gruntPath + " download-atom-shell --gruntfile build/Gruntfile.coffee"
|
||||
m7 += " $ "+downloadAtomShellCmd
|
||||
|
||||
var commands = [
|
||||
{
|
||||
|
@ -124,7 +128,7 @@ function bootstrap() {
|
|||
options: semverOptions
|
||||
},
|
||||
{
|
||||
command: 'grunt download-atom-shell --gruntfile ./build/Gruntfile.coffee',
|
||||
command: downloadAtomShellCmd,
|
||||
message: m7
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue