[fix] fonts were forgotten along the way

This commit is contained in:
Julien Malik 2016-03-05 11:23:13 +01:00
parent fc66551bd5
commit 04cac56384
2 changed files with 11 additions and 2 deletions

View file

@ -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;}

View file

@ -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 () {