From a0b520cdb46f1447e4f8566895bc6fdf095a77ea Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 11 Apr 2015 22:55:14 +0300 Subject: [PATCH] Update build.js I suggest more explicit error message on gulp build command fail, so developer will have an initial idea about what's wrong. Here's a related discussion and bug report: https://github.com/Semantic-Org/Semantic-UI/issues/2056 --- tasks/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/build.js b/tasks/build.js index 50b4af1b4..aab1f6d01 100644 --- a/tasks/build.js +++ b/tasks/build.js @@ -16,7 +16,7 @@ module.exports = function(callback) { console.info('Building Semantic'); if( !install.isSetup() ) { - console.error('Cannot build files. Run "gulp install" to set-up Semantic'); + console.error('Cannot find semantic.json file. Run "gulp install" to set-up Semantic'); return; } @@ -31,4 +31,4 @@ module.exports = function(callback) { gulp.start('build-assets'); -}; \ No newline at end of file +};