forked from fomantic/Fomantic-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
42 lines (31 loc) · 831 Bytes
/
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
/*******************************
* Set-up
*******************************/
const
gulp = require('gulp'),
// read user config to know what task to load
config = require('./tasks/config/user'),
admin = require('./tasks/collections/admin'),
rtl = require('./tasks/collections/rtl')
;
/*******************************
* Tasks
*******************************/
require('./tasks/collections/build')(gulp);
require('./tasks/collections/various')(gulp);
require('./tasks/collections/install')(gulp);
gulp.task('default', gulp.series('check-install'));
/* --------------
Docs
--------------- */
require('./tasks/collections/docs')(gulp);
/* --------------
RTL
--------------- */
if (config.rtl) {
rtl(gulp);
}
/* Admin Tasks */
if (config.admin) {
admin(gulp);
}