Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options object #9

Merged
merged 2 commits into from
Oct 24, 2015
Merged

Add options object #9

merged 2 commits into from
Oct 24, 2015

Conversation

astanciu
Copy link
Contributor

No description provided.

Allows specifying target subdirectory for font files and css
@astanciu
Copy link
Contributor Author

Addresses #7

Please note that the paths specified are relative to the dest:

gulp.task('googlefonts', function () {
    return gulp.src(paths.src +'/assets/fonts.list')
        .pipe(googleWebFonts({fontsDir: 'googlefonts', cssDir: 'googlecss'}))
        .pipe(gulp.dest(paths.src +'/assets/'));
});

This will create
/assets
--googlefonts
----*.woff files
--googlecss
----fonts.css

battlesnake added a commit that referenced this pull request Oct 24, 2015
@battlesnake battlesnake merged commit f6148d7 into battlesnake:master Oct 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants