Skip to content

Commit

Permalink
Merge pull request #4561 from cb1kenobi/timob-14762_3_1_X
Browse files Browse the repository at this point in the history
[TIMOB-14762] Added exit code of 1 when a build error occurs.
  • Loading branch information
nebrius committed Aug 8, 2013
2 parents ca8ad96 + edf77f1 commit f5b1c90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions support/cli/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ exports.run = function (logger, config, cli) {
var delta = appc.time.prettyDiff(cli.startTime, Date.now());
if (err) {
logger.error(__('Project failed to build after %s', delta) + '\n');
process.exit(1);
} else {
logger.info(__('Project built successfully in %s', delta) + '\n');
}
Expand Down

0 comments on commit f5b1c90

Please sign in to comment.