diff --git a/gulpfile.js b/gulpfile.js index e378b2eba..b403113fc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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')); });