Skip to content

Commit

Permalink
#724 Fix glyphicon font file export
Browse files Browse the repository at this point in the history
  • Loading branch information
koda-masaru committed May 16, 2017
1 parent 3c15b08 commit 9fef53f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ gulp.task('min', function() {
.pipe(gulp.dest('target/knowledge/WEB-INF/views/'));
});

gulp.task('copy', ['copy:bootswatch', 'copy:highlightjs', 'copy:font-awesome', 'copy:flag-icon-css',
gulp.task('copy', ['copy:bootswatch', 'copy:bootswatch2', 'copy:highlightjs', 'copy:font-awesome', 'copy:flag-icon-css',
'copy:html5shiv', 'copy:respond', 'copy:MathJax', 'copy:emoji-parser', 'copy:free-file-icons',
'copy:diff2html', 'copy:jsdiff']);

gulp.task('copy:bootswatch', function() {
return gulp.src([
'src/main/webapp/bower/bootswatch/**/*'
])
.pipe(gulp.dest('target/knowledge/bower/bootswatch'));
});
gulp.task('copy:bootswatch2', function() {
return gulp.src([
'src/main/webapp/bower/bootswatch/**/*.css'
])
.pipe(replace(/^@import url\("https:\/\/fonts.googleapis.com\/css.*\)\;/, ''))
.pipe(gulp.dest('target/knowledge/bower/bootswatch'));
});
Expand Down

0 comments on commit 9fef53f

Please sign in to comment.