Skip to content

Commit

Permalink
Don't ignore stdout when --no-quiet is set
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Jul 2, 2014
1 parent 1090746 commit 7b09fc0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ function bootstrap() {
var packagesToDedupe = ['fs-plus', 'humanize-plus', 'oniguruma', 'roaster', 'season', 'grim'];

var buildInstallCommand = initialNpmCommand + npmFlags + 'install';
var buildInstallOptions = {cwd: path.resolve(__dirname, '..', 'build')};
var apmInstallCommand = npmPath + npmFlags + 'install';
var apmInstallOptions = {cwd: apmInstallPath};
var moduleInstallCommand = apmPath + ' install' + apmFlags;
var dedupeCommand = apmPath + ' dedupe' + apmFlags;

Expand All @@ -49,11 +51,13 @@ function bootstrap() {
apmInstallCommand += ' --quiet';
moduleInstallCommand += ' --quiet';
dedupeCommand += ' --quiet';
buildInstallOptions.ignoreStdout = true;
apmInstallOptions.ignoreStdout = true;
}

var commands = [
{command: buildInstallCommand, message: 'Installing build modules...', options: {cwd: path.resolve(__dirname, '..', 'build'), ignoreStdout: true}},
{command: apmInstallCommand, message: 'Installing apm...', options: {cwd: apmInstallPath, ignoreStdout: true}},
{command: buildInstallCommand, message: 'Installing build modules...', options: buildInstallOptions},
{command: apmInstallCommand, message: 'Installing apm...', options: apmInstallOptions},
apmPath + ' clean' + apmFlags,
moduleInstallCommand,
dedupeCommand + ' ' + packagesToDedupe.join(' '),
Expand Down

0 comments on commit 7b09fc0

Please sign in to comment.