Browse Source

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
pull/2102/head
Alexey 9 years ago
parent
commit
a0b520cdb4
1 changed files with 2 additions and 2 deletions
  1. 4
      tasks/build.js

4
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');
};
};
Loading…
Cancel
Save