mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-30 21:52:05 +02:00
build fixes
This commit is contained in:
parent
0118752361
commit
34592465dd
|
@ -5,7 +5,7 @@ title: CSS App Store Badges
|
||||||
image: teaser-appstorebadges.png
|
image: teaser-appstorebadges.png
|
||||||
|
|
||||||
author: Matthias Kretschmann
|
author: Matthias Kretschmann
|
||||||
date: 2015-09-13 15:55:18.418548000 +02:00
|
date: 2015-09-13 18:55:18.418548000 +02:00
|
||||||
|
|
||||||
category: goodies
|
category: goodies
|
||||||
tags:
|
tags:
|
||||||
|
|
10
gulpfile.js
10
gulpfile.js
|
@ -7,7 +7,8 @@ var gulp = require('gulp'),
|
||||||
chalk = require('chalk'),
|
chalk = require('chalk'),
|
||||||
merge = require('merge-stream'),
|
merge = require('merge-stream'),
|
||||||
pkg = require('./package.json'),
|
pkg = require('./package.json'),
|
||||||
parallelize = require('concurrent-transform');
|
parallelize = require('concurrent-transform'),
|
||||||
|
combineMq = require('gulp-combine-mq');
|
||||||
|
|
||||||
// Temporary solution until gulp 4
|
// Temporary solution until gulp 4
|
||||||
// https://github.com/gulpjs/gulp/issues/355
|
// https://github.com/gulpjs/gulp/issues/355
|
||||||
|
@ -152,8 +153,8 @@ gulp.task('css', function() {
|
||||||
src + '/_assets/styl/post-*.styl'
|
src + '/_assets/styl/post-*.styl'
|
||||||
])
|
])
|
||||||
.pipe($.stylus({ 'include css': true })).on('error', onError)
|
.pipe($.stylus({ 'include css': true })).on('error', onError)
|
||||||
.pipe($.autoprefixer({ browsers: 'last 2 versions' })).on('error', onError)
|
.pipe($.autoprefixer({ browsers: 'last 2 versions' }))
|
||||||
.pipe($.if(isProduction, $.combineMq({ beautify: false })))
|
.pipe($.if(isProduction, combineMq({ beautify: false }))).on('error', onError)
|
||||||
.pipe($.if(isProduction, $.cssmin()))
|
.pipe($.if(isProduction, $.cssmin()))
|
||||||
.pipe($.if(isProduction, $.header(banner, { pkg: pkg })))
|
.pipe($.if(isProduction, $.header(banner, { pkg: pkg })))
|
||||||
.pipe($.rename({ suffix: '.min' }))
|
.pipe($.rename({ suffix: '.min' }))
|
||||||
|
@ -379,7 +380,8 @@ gulp.task('build', function(cb) {
|
||||||
runSequence(
|
runSequence(
|
||||||
'clean',
|
'clean',
|
||||||
'jekyll',
|
'jekyll',
|
||||||
['html', 'css', 'js', 'images', 'icons', 'fonts', 'media'],
|
//'html',
|
||||||
|
['css', 'js', 'images', 'icons', 'fonts', 'media'],
|
||||||
'rev',
|
'rev',
|
||||||
'rev:replace',
|
'rev:replace',
|
||||||
cb
|
cb
|
||||||
|
|
Loading…
Reference in New Issue
Block a user