forked from FSGpilot/frontend-styleguide
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgulpfile.js
56 lines (42 loc) · 1.36 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
// Bring in individual Gulp configurations
//
require( './config/gulp/html' );
require( './config/gulp/publish' );
var gulp = require( 'gulp' );
var dutil = require( './config/gulp/doc-util' );
gulp.task( 'default',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.'
);
dutil.logCommand(
'gulp publish',
'This task generates a /docs folder with the same content as in /_site/, ready for publishing on Github Pages (just push it to the master-branch).'
);
done();
} );