wishthis/semantic/tasks/collections/build.js
2023-08-17 11:47:40 +02:00

30 lines
928 B
JavaScript

/*******************************
* Define Build Sub-Tasks
*******************************/
const
watch = require('../watch'),
// build sub-tasks
build = require('../build'),
buildJS = require('../build/javascript'),
buildCSS = require('../build/css'),
buildAssets = require('../build/assets')
;
module.exports = function (gulp) {
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';
};