wishthis/node_modules/fomantic-ui/tasks/build.js
2023-08-17 11:47:40 +02:00

23 lines
522 B
JavaScript

/*******************************
* Build Task
*******************************/
const
// dependencies
gulp = require('gulp'),
// config
install = require('./config/project/install')
;
module.exports = function (callback) {
console.info('Building Fomantic');
if (!install.isSetup()) {
console.error('Cannot find semantic.json. Run "gulp install" to set-up Fomantic');
return 1;
}
gulp.series('build-css', 'build-javascript', 'build-assets')(callback);
};