cacert-boardvoting/ui/semantic/tasks/build.js
Jan Dittberner d7a742d97d Update UI framework
- add package.json for npm/npx
- update to fomantic-ui
- move ui files to ui directory
- add UI build documentation to README.md
- add ui target to Makefile
- add addPrefix handler in boardvoting.go to allow the same /static/
  prefix for static resources
2022-05-08 16:13:50 +02:00

23 lines
496 B
JavaScript

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