forked from unbug/codelf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
23 lines (21 loc) · 680 Bytes
/
gulpfile.js
File metadata and controls
23 lines (21 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'use strict';
const gulp = require('gulp-help')(require('gulp'));
const $ = require('./build-system/util');
const runSequence = require('run-sequence');
const requireDir = require('require-dir');
requireDir('./build-system');
// Run tasks: lint, build, docs, watch, server
gulp.task('default', (cb) => {
$.util.log(
$.util.colors.green('Building and watching for changes ...')
);
runSequence(
'lint',
'build:fonts', 'build:extra', 'build:images', 'build:app-css', 'build:lib-js', 'build:lib-css',
'watch', 'server', () => {
cb();
$.util.log(
$.util.colors.green('Ready! Run "gulp help" for more build command usages.'), '\n'
);
});
});