Skip to content

Commit

Permalink
Fix typos and the output folder for fonts
Browse files Browse the repository at this point in the history
This closes #106. Thank you to @S1SYPHOS for spotting all of them.
  • Loading branch information
sondr3 committed Dec 4, 2015
1 parent 055685a commit 833f9b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generators/gulp/templates/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ gulp.task('images', () =>
// 'gulp fonts' -- copies your fonts to the temporary assets folder
gulp.task('fonts', () =>
gulp.src('src/assets/fonts/**/*')
.pipe(gulp.dest('.tmp/assets/images'))
.pipe(gulp.dest('.tmp/assets/fonts'))
.pipe($.size({title: 'fonts'}))
);

Expand All @@ -182,7 +182,7 @@ gulp.task('html', () =>
.pipe($.if(argv.prod, gulp.dest('dist')))
.pipe($.if(argv.prod, $.gzip({append: true})))
.pipe($.if(argv.prod, $.size({
title: 'gzipped script',
title: 'gzipped HTML',
gzip: true
})))
.pipe($.if(argv.prod, gulp.dest('dist')))
Expand Down Expand Up @@ -271,7 +271,7 @@ gulp.task('assets', gulp.series(
gulp.parallel('styles', 'scripts', 'fonts', 'images')
));

// 'gulp assets:copy' -- copes the assets into the dist folder, needs to be
// 'gulp assets:copy' -- copies the assets into the dist folder, needs to be
// done this way because Jekyll overwrites the whole folder otherwise
gulp.task('assets:copy', () =>
gulp.src('.tmp/assets/**/*')
Expand Down

0 comments on commit 833f9b6

Please sign in to comment.