chore: update theme builder
This commit is contained in:
parent
d7cc91de08
commit
81e303ed51
1 changed files with 15 additions and 1 deletions
|
@ -33,6 +33,12 @@ files.forEach(file => {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('build:themes', cb => {
|
gulp.task('build:themes', cb => {
|
||||||
|
gutil.log(
|
||||||
|
gutil.colors.magenta('\n--------------'),
|
||||||
|
gutil.colors.blue('---------------'),
|
||||||
|
gutil.colors.red('---------------'),
|
||||||
|
gutil.colors.yellow('---------------'
|
||||||
|
));
|
||||||
themeVariants.forEach(variant => {
|
themeVariants.forEach(variant => {
|
||||||
const templateData = {
|
const templateData = {
|
||||||
'commons': themeCommons,
|
'commons': themeCommons,
|
||||||
|
@ -51,6 +57,14 @@ gulp.task('build:themes', cb => {
|
||||||
'utf-8'
|
'utf-8'
|
||||||
);
|
);
|
||||||
|
|
||||||
gutil.log('Generated', gutil.colors.green(path));
|
gutil.log('Generate', gutil.colors.green(path));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
gutil.log(
|
||||||
|
'Build completed ✔',
|
||||||
|
gutil.colors.magenta('\n--------------'),
|
||||||
|
gutil.colors.blue('---------------'),
|
||||||
|
gutil.colors.red('---------------'),
|
||||||
|
gutil.colors.yellow('---------------'
|
||||||
|
));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue