Skip to content

Commit

Permalink
Minor build process updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Markionium committed Nov 8, 2016
1 parent f12bd82 commit 700f708
Show file tree
Hide file tree
Showing 2 changed files with 4,138 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ gulp.task('vendor', function (cb) {
return stuff;
});

gulp.task('font-awesome', function () {
return gulp.src([
'src/vendor/font-awesome/fonts/**'
])
.pipe(gulp.dest('build/fonts'));
});

gulp.task('do-rev-on-build', function () {
function doFileCheck(file) {
if (/\.html$/.test(file.path) || /\.js$/.test(file.path) || /\.css$/.test(file.path)) {
Expand All @@ -292,7 +299,7 @@ gulp.task('clean-rev', function(cb){
});

gulp.task('build', function (cb) {
runSequence('clean', 'js', 'sass', 'html', 'dependencies', 'i18n', 'images', 'manifest', cb);
runSequence('clean', 'js', 'sass', 'html', 'dependencies', 'font-awesome', 'i18n', 'images', 'manifest', cb);
});

gulp.task('build-prod', function (cb) {
Expand Down
Loading

0 comments on commit 700f708

Please sign in to comment.