From fba381a3b977311b8beebe5ef777a754b81bd5db Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Wed, 1 Oct 2014 20:02:27 +0900 Subject: [PATCH] Copy fonts over for bootstrap --- client/gulpfile.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/client/gulpfile.js b/client/gulpfile.js index 56e83a7..fd7a1c6 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -24,6 +24,9 @@ var paths = { './bower_components/bootstrap-select/dist/css/bootstrap-select.css', './css/*.css' ], + fonts: [ + './bower_components/bootstrap/fonts/*' + ], html: [ './html/*.html' ] @@ -35,6 +38,11 @@ gulp.task('lint', function() { .pipe(jshint.reporter('default')); }); +gulp.task('fonts', function() { + return gulp.src(paths.fonts) + .pipe(gulp.dest('./fonts')); +}); + gulp.task('js', function() { return gulp.src(paths.js) .pipe(concat('scripts.js')) @@ -69,6 +77,6 @@ gulp.task('watch_debug', function() { }); gulp.task('debug', ['lint', 'html_debug']); -gulp.task('release', ['lint', 'js', 'css', 'html_release']); +gulp.task('release', ['lint', 'fonts', 'js', 'css', 'html_release']); gulp.task('default', ['html_debug', 'watch_debug']);