-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved code quality of contributions, defined fonts.list format a b…
…it better
- Loading branch information
1 parent
afdce21
commit b3f9818
Showing
11 changed files
with
214 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules/ | ||
example*/out/ | ||
.*.swp | ||
.*.swo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
example*/out/ | ||
node_modules/ | ||
.*.swp | ||
.*.swo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Tab-delimeted format | ||
Oswald 400,700 latin,latin-ext | ||
|
||
# Google format | ||
Roboto:500,500italic&subset=greek |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var gulp = require('gulp'); | ||
var googleWebFonts = require('../'); //require('gulp-google-webfonts'); | ||
|
||
var options = { | ||
// fontsDir: 'googlefonts/', | ||
// cssDir: 'googlecss/', | ||
// cssFilename: 'myGoogleFonts.css' | ||
}; | ||
|
||
gulp.task('fonts', function () { | ||
return gulp.src('./fonts.list') | ||
.pipe(googleWebFonts(options)) | ||
.pipe(gulp.dest('out/fonts')) | ||
; | ||
}); | ||
|
||
gulp.task('default', ['fonts']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Tab-delimeted format | ||
Oswald 400,700 latin,latin-ext | ||
|
||
# Google format | ||
Roboto:500,500italic&subset=greek |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var gulp = require('gulp'); | ||
var googleWebFonts = require('../'); //require('gulp-google-webfonts'); | ||
|
||
var options = { | ||
fontsDir: 'googlefonts/', | ||
cssDir: 'googlecss/', | ||
cssFilename: 'myGoogleFonts.css' | ||
}; | ||
|
||
gulp.task('fonts', function () { | ||
return gulp.src('./fonts.list') | ||
.pipe(googleWebFonts(options)) | ||
.pipe(gulp.dest('out/fonts')) | ||
; | ||
}); | ||
|
||
gulp.task('default', ['fonts']); |
Oops, something went wrong.