1 |
|
2 |
|
3 |
|
4 |
|
5 | const
|
6 | watch = require('../watch'),
|
7 |
|
8 |
|
9 | build = require('../build'),
|
10 | buildJS = require('../build/javascript'),
|
11 | buildCSS = require('../build/css'),
|
12 | buildAssets = require('../build/assets')
|
13 | ;
|
14 |
|
15 | module.exports = function (gulp) {
|
16 | gulp.task('watch', watch);
|
17 | gulp.task('watch').description = 'Watch for site/theme changes';
|
18 |
|
19 | gulp.task('build', build);
|
20 | gulp.task('build').description = 'Builds all files from source';
|
21 |
|
22 | gulp.task('build-javascript', buildJS);
|
23 | gulp.task('build-javascript').description = 'Builds all javascript from source';
|
24 |
|
25 | gulp.task('build-css', buildCSS);
|
26 | gulp.task('build-css').description = 'Builds all css from source';
|
27 |
|
28 | gulp.task('build-assets', buildAssets);
|
29 | gulp.task('build-assets').description = 'Copies all assets from source';
|
30 | };
|