add roboto fonts and gulp tasks

remove unused codes
This commit is contained in:
Mike Ng
2018-04-06 16:38:56 +04:00
parent 7098165cbe
commit 43e09e99b2
60 changed files with 520 additions and 105 deletions

View File

@@ -13,7 +13,12 @@ gulp.task('copy-common-fonts',function(){
.pipe(gulp.dest(config.paths.build + 'common/fonts'));
});
gulp.task('build-common-font-css', ['copy-common-fonts'],function(){
gulp.task('copy-common-roboto-fonts', function () {
return gulp.src([config.paths.src + 'common/styles/fonts/**'])
.pipe(gulp.dest(config.paths.build + 'common/fonts'));
});
gulp.task('build-common-font-css', ['copy-common-fonts', 'copy-common-roboto-fonts'], function () {
return gulp.src([config.paths.nodes + 'font-awesome/css/font-awesome.min.css'])
.pipe(gulp.dest( config.paths.build + 'common/css'));
});