Small improvements

This commit is contained in:
RainLoop Team 2015-07-29 22:13:49 +04:00
parent 5123841540
commit c99a46a118
29 changed files with 459 additions and 26 deletions

View file

@ -494,12 +494,21 @@ gulp.task('fontastic-fonts:clear', function() {
return cleanDir('rainloop/v/' + cfg.devVersion + '/static/css/fonts/rainloop.*');
});
gulp.task('fontastic-svg:clear', function() {
return cleanDir('rainloop/v/' + cfg.devVersion + '/static/css/svg/*.svg');
});
gulp.task('fontastic-fonts:copy', ['fontastic-fonts:clear'], function() {
return gulp.src('vendors/fontastic/fonts/rainloop.*')
.pipe(gulp.dest('rainloop/v/' + cfg.devVersion + '/static/css/fonts'));
});
gulp.task('fontastic', ['fontastic-fonts:copy']);
gulp.task('fontastic-svg:copy', ['fontastic-svg:clear'], function() {
return gulp.src('vendors/fontastic/svg/*.svg')
.pipe(gulp.dest('rainloop/v/' + cfg.devVersion + '/static/css/svg'));
});
gulp.task('fontastic', ['fontastic-fonts:copy', 'fontastic-svg:copy']);
gulp.task('ckeditor:clear', function() {
return cleanDir('rainloop/v/' + cfg.devVersion + '/static/ckeditor');