1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 09:13:35 +01:00

new generated folder

This commit is contained in:
Matthias Kretschmann 2013-11-30 04:10:58 +01:00
parent 328bd3d767
commit cef98fc4f4
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
node_modules
bower_components
_site
generated

View File

@ -4,7 +4,7 @@ module.exports = function(grunt){
// config
var gruntConfig = {
src: '_src',
site: '_site',
site: 'generated',
assets: {
less: 'assets/less',
css: 'assets/css',
@ -156,7 +156,7 @@ module.exports = function(grunt){
},
less: {
files: ['<%= config.src %>/<%= config.assets.less %>/*.less'],
tasks: ['less']
tasks: ['less','cmq','cssmin']
},
js: {
files: ['<%= config.src %>/<%= config.assets.js %>/*.js'],
@ -171,7 +171,7 @@ module.exports = function(grunt){
'<%= config.src %>/_posts/**',
'<%= config.src %>/_drafts/**'
],
tasks: ['jekyll:development', 'less', 'uglify']
tasks: ['jekyll:development', 'less', 'cmq', 'cssmin', 'uglify']
},
},

View File

@ -38,7 +38,7 @@ pygments: true
# --------------------
source: ./_src
destination: ./_site
destination: ./generated
exclude: ['design', 'node_modules', 'less']
keep_files: ['media', 'gen']