cacert-boardvoting/ui/semantic/tasks/collections/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

32 lines
941 B
JavaScript

/*******************************
* Define Build Sub-Tasks
*******************************/
module.exports = function (gulp) {
// build sub-tasks
const
watch = require('./../watch'),
build = require('./../build'),
buildJS = require('./../build/javascript'),
buildCSS = require('./../build/css'),
buildAssets = require('./../build/assets')
;
gulp.task('watch', watch);
gulp.task('watch').description = 'Watch for site/theme changes';
gulp.task('build', build);
gulp.task('build').description = 'Builds all files from source';
gulp.task('build-javascript', buildJS);
gulp.task('build-javascript').description = 'Builds all javascript from source';
gulp.task('build-css', buildCSS);
gulp.task('build-css').description = 'Builds all css from source';
gulp.task('build-assets', buildAssets);
gulp.task('build-assets').description = 'Copies all assets from source';
};