chore: include fonts in built
This commit is contained in:
parent
2f1bf8867e
commit
ae16bddea8
13 changed files with 13 additions and 2 deletions
BIN
assets/built/CascadiaCode-Bold.otf
Normal file
BIN
assets/built/CascadiaCode-Bold.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-BoldItalic.otf
Normal file
BIN
assets/built/CascadiaCode-BoldItalic.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-ExtraLight.otf
Normal file
BIN
assets/built/CascadiaCode-ExtraLight.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-ExtraLightItalic.otf
Normal file
BIN
assets/built/CascadiaCode-ExtraLightItalic.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-Italic.otf
Normal file
BIN
assets/built/CascadiaCode-Italic.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-Light.otf
Normal file
BIN
assets/built/CascadiaCode-Light.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-LightItalic.otf
Normal file
BIN
assets/built/CascadiaCode-LightItalic.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-Regular.otf
Normal file
BIN
assets/built/CascadiaCode-Regular.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-SemiBold.otf
Normal file
BIN
assets/built/CascadiaCode-SemiBold.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-SemiBoldItalic.otf
Normal file
BIN
assets/built/CascadiaCode-SemiBoldItalic.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-SemiLight.otf
Normal file
BIN
assets/built/CascadiaCode-SemiLight.otf
Normal file
Binary file not shown.
BIN
assets/built/CascadiaCode-SemiLightItalic.otf
Normal file
BIN
assets/built/CascadiaCode-SemiLightItalic.otf
Normal file
Binary file not shown.
15
gulpfile.js
15
gulpfile.js
|
@ -72,6 +72,16 @@ function js(done) {
|
|||
], handleError(done));
|
||||
}
|
||||
|
||||
function fonts(done) {
|
||||
pump([
|
||||
src([
|
||||
'assets/fonts/*'
|
||||
]),
|
||||
dest('assets/built/'),
|
||||
livereload()
|
||||
], handleError(done));
|
||||
}
|
||||
|
||||
function zipper(done) {
|
||||
const filename = require('./package.json').name + '.zip';
|
||||
|
||||
|
@ -92,8 +102,9 @@ function zipper(done) {
|
|||
const cssWatcher = () => watch('assets/css/**', css);
|
||||
const jsWatcher = () => watch('assets/js/**', js);
|
||||
const hbsWatcher = () => watch(['*.hbs', 'partials/**/*.hbs'], hbs);
|
||||
const watcher = parallel(cssWatcher, jsWatcher, hbsWatcher);
|
||||
const build = series(css, js);
|
||||
const fontsWatcher = () => watch('assets/fonts/**', fonts);
|
||||
const watcher = parallel(cssWatcher, jsWatcher, hbsWatcher, fontsWatcher);
|
||||
const build = series(css, js, fonts);
|
||||
|
||||
exports.build = build;
|
||||
exports.zip = series(build, zipper);
|
||||
|
|
Loading…
Reference in a new issue