diff --git a/src/css/style.less b/src/css/style.less index 3a59aa24..df575301 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -1,4 +1,4 @@ -@font-path: "../../fonts/"; +@font-path: "../fonts/"; /* * Bootstrap @@ -30,7 +30,7 @@ @import "../bower_components/font-awesome/less/font-awesome.less"; // variables override -@fa-font-path: "@{font-path}font-awesome/fonts"; +@fa-font-path: @font-path; // Fixes [class*="fa-"] {.fa;} diff --git a/src/gulpfile.js b/src/gulpfile.js index fffedf69..d21b6436 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -16,6 +16,7 @@ var concat = require('gulp-concat'), // Global build task gulp.task('build', [ 'css', + 'fonts', 'js', 'img', ]); @@ -58,6 +59,14 @@ gulp.task('js-lint', function() { .pipe(jshint.reporter('default')); }); +// Fonts +gulp.task('fonts', function() { + return gulp.src([ + 'bower_components/font-awesome/fonts/*', + 'fonts/*' + ]) + .pipe(gulp.dest('./dist/fonts')) +}); // CSS task gulp.task('css', function () {