1 |
|
2 |
|
3 |
|
4 |
|
5 | const
|
6 | gulp = require('gulp'),
|
7 |
|
8 |
|
9 | config = require('./tasks/config/user'),
|
10 |
|
11 | admin = require('./tasks/collections/admin'),
|
12 | rtl = require('./tasks/collections/rtl')
|
13 | ;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | require('./tasks/collections/build')(gulp);
|
20 | require('./tasks/collections/various')(gulp);
|
21 | require('./tasks/collections/install')(gulp);
|
22 |
|
23 | gulp.task('default', gulp.series('check-install'));
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | require('./tasks/collections/docs')(gulp);
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | if (config.rtl) {
|
36 | rtl(gulp);
|
37 | }
|
38 |
|
39 |
|
40 | if (config.admin) {
|
41 | admin(gulp);
|
42 | }
|