-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgulpfile.js
More file actions
35 lines (32 loc) · 738 Bytes
/
Copy pathgulpfile.js
File metadata and controls
35 lines (32 loc) · 738 Bytes
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
var gulp = require('gulp');
require('./gulp_tasks/clean');
require('./gulp_tasks/script');
require('./gulp_tasks/html');
require('./gulp_tasks/copy');
require('./gulp_tasks/jshint');
require('./gulp_tasks/server');
require('./gulp_tasks/browser-sync');
require('./gulp_tasks/sass');
gulp.task('default', ['clean'], function () {
gulp.start(
'copy',
'html',
'script',
'jshint',
'sass',
'server',
'browser-sync',
'watch-html',
'watch-script',
'watch-jshint',
'watch-copy',
'watch-sass'
);
});
gulp.task('build', ['clean'], function () {
gulp.start(
'copy',
'sass',
'script:mini',
'html:mini');
});