forked from openscope/openscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gulpfile.js
39 lines (34 loc) · 1.15 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
/* 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('lint', ['lint:scripts']);
gulp.task('build', () => {
runSequence(
'build:server',
'build:scripts',
'build:styles'
);
});
gulp.task('dist', () => {
runSequence(
'clean:dist',
['build:scripts', 'build:styles']
// 'lint:scripts'
);
});
gulp.task('watch', ['watch:scripts', 'watch:styles']);
gulp.task('default', ['build']);