forked from zlsa/atc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gulpfile.js
40 lines (37 loc) · 1.27 KB
/
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
32
33
34
35
36
37
38
39
40
/* eslint-disable */
'use strict';
var gulp = require('gulp');
var runSequence = require('run-sequence');
var OPTIONS = require('./tools/paths');
////////////////////////////////////////////////////////////////////
// EXTERNAL TASKS
////////////////////////////////////////////////////////////////////
require('./tools/tasks/scriptTasks')(gulp, OPTIONS);
// require('./tools/tasks/docTasks')(gulp, OPTIONS);
// require('./tools/tasks/testTasks')(gulp, OPTIONS);
require('./tools/tasks/styleTasks')(gulp, OPTIONS);
require('./tools/tasks/mediaTasks')(gulp, OPTIONS);
require('./tools/tasks/utilityTasks')(gulp, OPTIONS);
////////////////////////////////////////////////////////////////////
// UNIFIED GULP TASKS
////////////////////////////////////////////////////////////////////
// gulp.task('copy:data', ['clean:data:json', 'json']);
gulp.task('lint', ['lint:scripts']);
gulp.task('build', [
'clean:build:scripts',
'clean:build:styles',
'build:scripts',
'build:styles'
]);
gulp.task('dist', function() {
runSequence(
'clean:dist',
['build:scripts', 'build:styles']
// 'copy:data',
// 'fonts',
// 'minify-images',
// 'lint:scripts'
);
});
gulp.task('watch', ['watch:scripts', 'watch:styles']);
gulp.task('default', ['build']);