-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Dan503:release/1.1.3-otf-support
Release 1.1.3 - OpenType (.otf) file support
- Loading branch information
Showing
9 changed files
with
1,276 additions
and
788 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,4 +1,3 @@ | ||
|
||
@warn "The 1.0 generator syntax is deprecated, please use the new mixin format instead"; | ||
|
||
@import './mixin'; | ||
|
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,19 +1,23 @@ | ||
|
||
import gulp from 'gulp' | ||
import sass from 'gulp-sass' | ||
|
||
function sass_compiler(path, file){ | ||
return () => gulp.src([path,file].join('/')) | ||
.pipe(sass()) | ||
.pipe(gulp.dest(path)) | ||
function sass_compiler(path, file) { | ||
return () => | ||
gulp.src([path, file].join('/')).pipe(sass()).pipe(gulp.dest(path)) | ||
} | ||
|
||
gulp.task('GENERATOR test compiling', sass_compiler('./tests/generator', 'generator.test.scss')) | ||
gulp.task('MIXIN test compiling', sass_compiler('./tests/mixin','mixin.test.scss')) | ||
|
||
gulp.task('sass', gulp.parallel( | ||
gulp.task( | ||
'GENERATOR test compiling', | ||
'MIXIN test compiling' | ||
)) | ||
sass_compiler('./tests/generator', 'generator.test.scss'), | ||
) | ||
gulp.task( | ||
'MIXIN test compiling', | ||
sass_compiler('./tests/mixin', 'mixin.test.scss'), | ||
) | ||
|
||
gulp.task( | ||
'sass', | ||
gulp.parallel('GENERATOR test compiling', 'MIXIN test compiling'), | ||
) | ||
|
||
gulp.task('default', gulp.series('sass')) |
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
Oops, something went wrong.