-
Notifications
You must be signed in to change notification settings - Fork 8
/
gulpfile.js
57 lines (44 loc) · 1.37 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* eslint-disable */
// Bring in individual Gulp configurations
//
require( './config/gulp/flags' );
require( './config/gulp/fonts' );
require( './config/gulp/files' );
require( './config/gulp/images' );
require( './config/gulp/javascript' );
require( './config/gulp/sass' );
require( './config/gulp/build' );
var gulp = require( 'gulp' );
var dutil = require( './config/gulp/doc-util' );
gulp.task( 'default', function ( done ) {
dutil.logIntroduction();
dutil.logHelp(
'gulp',
'This task will output the currently supported automation tasks. ( e.g. This help message. )'
);
dutil.logHelp(
'gulp build',
'This task is an alias for running `gulp clean-assets javascript images sass fonts` and is the recommended task to build all assets.'
);
dutil.logCommand(
'gulp sass',
'This task will compile all the Sass files into the assets directory.'
);
dutil.logCommand(
'gulp javascript',
'This task will compile all the JavaScript files into the assets directory.'
);
dutil.logCommand(
'gulp images',
'This task will copy all the image files into the assets directory.'
);
dutil.logCommand(
'gulp fonts',
'This task will copy all the font files into the assets directory.'
);
dutil.logCommand(
'gulp html',
'This task generates the code snippets based off of uswds package html files.'
);
done();
} );