wishthis/semantic/gulpfile.js
2022-01-13 14:00:31 +01:00

35 lines
686 B
JavaScript

/*******************************
* Set-up
*******************************/
var
gulp = require('gulp'),
// read user config to know what task to load
config = require('./tasks/config/user')
;
/*******************************
* Tasks
*******************************/
require('./tasks/collections/build')(gulp);
require('./tasks/collections/various')(gulp);
require('./tasks/collections/install')(gulp);
gulp.task('default', gulp.series('watch'));
/*--------------
Docs
---------------*/
require('./tasks/collections/docs')(gulp);
/*--------------
RTL
---------------*/
if (config.rtl) {
require('./tasks/collections/rtl')(gulp);
}