blob: 4750e2fb3b685def6b2ce2e8112cc8b06b823ce0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*******************************
* 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';
};
|