aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gulpfile.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-03-07 05:33:21 +0000
committerBrian Ford2014-03-07 15:08:42 -0800
commit021d3aa21a4b7f2ea69a4a9bff7a7ff7986d343c (patch)
treef7d8e5db9b36e973009ee72dc2b181c8de234b6f /docs/gulpfile.js
parente8c8c5459e552d795fe9995038a5090efa727098 (diff)
downloadangular.js-021d3aa21a4b7f2ea69a4a9bff7a7ff7986d343c.tar.bz2
chore(doc-gen): improve error reporting
Diffstat (limited to 'docs/gulpfile.js')
-rw-r--r--docs/gulpfile.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/gulpfile.js b/docs/gulpfile.js
index caef1a89..c47c04f5 100644
--- a/docs/gulpfile.js
+++ b/docs/gulpfile.js
@@ -49,7 +49,11 @@ gulp.task('assets', ['bower'], function() {
gulp.task('doc-gen', function() {
- return docGenerator('docs.config.js').generateDocs();
+ return docGenerator('docs.config.js')
+ .generateDocs()
+ .catch(function(error) {
+ process.exit(1);
+ });
});
// JSHint the example and protractor test files