-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
31 lines (26 loc) · 735 Bytes
/
gulpfile.js
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
'use strict';
// require gulp.
var gulp = require('gulp');
// task for development.
gulp.task('default', ['css', 'js', 'img', 'font', 'sound', 'modernizr', 'kss'], function() {
gulp.start('watch');
});
// task for the production server.
gulp.task('build', ['clean'], function() {
gulp.start('css', 'js', 'img', 'font', 'sound', 'modernizr');
});
// utility function that gets a task module.
function task(task) { return require('./gulp_tasks/' + task)(gulp); }
// list all task modules.
task('task.browsersync');
task('task.clean');
task('task.css');
task('task.font');
task('task.img');
task('task.js');
task('task.kss');
task('task.modernizr');
task('task.rev');
task('task.server');
task('task.sound');
task('task.watch');