1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 09:56:51 +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 node_modules
bower_components bower_components
_site generated

View File

@ -4,7 +4,7 @@ module.exports = function(grunt){
// config // config
var gruntConfig = { var gruntConfig = {
src: '_src', src: '_src',
site: '_site', site: 'generated',
assets: { assets: {
less: 'assets/less', less: 'assets/less',
css: 'assets/css', css: 'assets/css',
@ -156,7 +156,7 @@ module.exports = function(grunt){
}, },
less: { less: {
files: ['<%= config.src %>/<%= config.assets.less %>/*.less'], files: ['<%= config.src %>/<%= config.assets.less %>/*.less'],
tasks: ['less'] tasks: ['less','cmq','cssmin']
}, },
js: { js: {
files: ['<%= config.src %>/<%= config.assets.js %>/*.js'], files: ['<%= config.src %>/<%= config.assets.js %>/*.js'],
@ -171,7 +171,7 @@ module.exports = function(grunt){
'<%= config.src %>/_posts/**', '<%= config.src %>/_posts/**',
'<%= config.src %>/_drafts/**' '<%= 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 source: ./_src
destination: ./_site destination: ./generated
exclude: ['design', 'node_modules', 'less'] exclude: ['design', 'node_modules', 'less']
keep_files: ['media', 'gen'] keep_files: ['media', 'gen']