gillbeits/gulp-fontello

No effect from assetsOnly option

Closed this issue · 1 comments

I have:

gulp.task('fontello', function(done) {
  return gulp.src(defaultAssets.server.fontelloConfig)
    .pipe(plugins.fontello( {
      font:       'font', // Destination dir for Fonts and Glyphs
      css:        'css',  // Destination dir for CSS Styles,
      assetsOnly: true    // extract from ZipFile only CSS Styles and Fonts exclude config.json, LICENSE.txt, README.txt and demo.html
    }))
    .pipe(plugins.print())
    .pipe(gulp.dest('public/lib/fontello'));
});

I do:

$ gulp fontello
[09:52:16] Using gulpfile ~/project/gulpfile.js
[09:52:16] Starting 'fontello'...
[09:52:17] config.json
[09:52:17] font/tricons.ttf
[09:52:17] font/tricons.svg
[09:52:17] font/tricons.woff
[09:52:18] font/tricons.eot
[09:52:18] demo.html
[09:52:18] LICENSE.txt
[09:52:18] README.txt
[09:52:18] css/animation.css
[09:52:18] css/tricons-ie7-codes.css
[09:52:18] css/tricons-embedded.css
[09:52:18] css/tricons-ie7.css
[09:52:18] css/tricons.css
[09:52:18] css/tricons-codes.css
[09:52:18] Finished 'fontello' after 2.1 s

I get:
image

I expected:
image

Not a biggie but am I doing something wrong or it just doesn't work? :-)

Works with above fix ^