Skip to content

Commit

Permalink
packages update + process exit 1 on dist task failure (failing CI bui…
Browse files Browse the repository at this point in the history
…lds)
  • Loading branch information
b091 committed Feb 11, 2016
1 parent 6b0dc6f commit 7ec4f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"karma-jspm": "~2.0.2",
"karma-junit-reporter": "~0.3.8",
"karma-mocha": "~0.2.1",
"karma-phantomjs2-launcher": "^0.4.0",
"karma-phantomjs2-launcher": "^0.5.0",
"minimist": "^1.2.0",
"mocha": "^2.4.5",
"phantomjs": "^2.1.3",
Expand All @@ -38,8 +38,8 @@
"sinon": "~1.17.2",
"sinon-chai": "~2.8.0",
"tslint": "^3.2.1",
"typings": "^0.6.6",
"typescript": "~1.7.5"
"typescript": "~1.7.5",
"typings": "^0.6.8"
},
"engines": {
"node": ">=4.1.1"
Expand Down
5 changes: 4 additions & 1 deletion tasks/build-dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ module.exports = (gulp, config) => () => {

return beginBuild()
.then(buildSFX)
.catch((err) => console.log('Build Failed', err));
.catch((err) => {
console.log('\n\tBuild Failed\n', err);
process.exit(1);
});

function beginBuild() {
builder.reset();
Expand Down

0 comments on commit 7ec4f5c

Please sign in to comment.