mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
auto-zipping of media kit package
This commit is contained in:
parent
0a9c805853
commit
783f08e27a
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 11 KiB |
BIN
_src/_assets/brand/mediakit-bigchaindb/logo/logo-bigchaindb.png
Normal file
BIN
_src/_assets/brand/mediakit-bigchaindb/logo/logo-bigchaindb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 11 KiB |
@ -242,7 +242,18 @@ export const fonts = () => src(SRC + '_assets/fonts/**/*')
|
||||
//
|
||||
// Copy brand assets
|
||||
//
|
||||
export const brand = () => src(SRC + '_assets/brand/**/*')
|
||||
export const brand = () => src(SRC + '_assets/brand/*')
|
||||
.pipe(dest(DIST + 'assets/brand/'))
|
||||
|
||||
|
||||
//
|
||||
// Zip up media kit
|
||||
//
|
||||
export const mediakit = () => src([
|
||||
SRC + '_assets/brand/mediakit-bigchaindb/**/*'],
|
||||
{ base: SRC + '_assets/brand/' }
|
||||
)
|
||||
.pipe($.zip('mediakit-bigchaindb.zip'))
|
||||
.pipe(dest(DIST + 'assets/brand/'))
|
||||
|
||||
|
||||
@ -342,7 +353,7 @@ const deployBanner = (done) => {
|
||||
// `gulp build` is the development build
|
||||
// `gulp build --production` is the production build
|
||||
//
|
||||
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, brand), rev, revReplace, criticalCss)
|
||||
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, brand, mediakit), rev, revReplace, criticalCss)
|
||||
|
||||
//
|
||||
// Build site, run server, and watch for file changes
|
||||
|
@ -69,6 +69,7 @@
|
||||
"gulp-svg-sprite": "^1.3.7",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
"gulp-util": "^3.0.6",
|
||||
"gulp-zip": "^4.0.0",
|
||||
"js-yaml": "^3.9.1",
|
||||
"request": "^2.81.0",
|
||||
"stylelint": "^8.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user