mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] fonts were forgotten along the way
This commit is contained in:
parent
fc66551bd5
commit
04cac56384
2 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
@font-path: "../../fonts/";
|
@font-path: "../fonts/";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Bootstrap
|
* Bootstrap
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
@import "../bower_components/font-awesome/less/font-awesome.less";
|
@import "../bower_components/font-awesome/less/font-awesome.less";
|
||||||
|
|
||||||
// variables override
|
// variables override
|
||||||
@fa-font-path: "@{font-path}font-awesome/fonts";
|
@fa-font-path: @font-path;
|
||||||
|
|
||||||
// Fixes
|
// Fixes
|
||||||
[class*="fa-"] {.fa;}
|
[class*="fa-"] {.fa;}
|
||||||
|
|
|
@ -16,6 +16,7 @@ var concat = require('gulp-concat'),
|
||||||
// Global build task
|
// Global build task
|
||||||
gulp.task('build', [
|
gulp.task('build', [
|
||||||
'css',
|
'css',
|
||||||
|
'fonts',
|
||||||
'js',
|
'js',
|
||||||
'img',
|
'img',
|
||||||
]);
|
]);
|
||||||
|
@ -58,6 +59,14 @@ gulp.task('js-lint', function() {
|
||||||
.pipe(jshint.reporter('default'));
|
.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
|
// CSS task
|
||||||
gulp.task('css', function () {
|
gulp.task('css', function () {
|
||||||
|
|
Loading…
Reference in a new issue