Skip to content

Commit

Permalink
Syntax corrections, more accurate defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
beporter committed Oct 22, 2014
1 parent 21f741d commit c5ac4af
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
var fs = require('fs');

module.exports = function(grunt) {
var includePaths = [ 'webroot/js', 'webroot/css' ];

grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-less');

Expand All @@ -12,13 +10,15 @@ module.exports = function(grunt) {
less: {
dev: {
options: {
paths: ["webroot/css"] // Include more paths here
paths: ["webroot/css"]
},
files: {
"webroot/css/app.css": "webroot/less/app.less"
"webroot/css/global.css": "webroot/less/global.less",
"webroot/css/public.css": "webroot/less/public.less",
"webroot/css/admin.css": "webroot/less/admin.less"
}
}
}
},

watch: {
php: {
Expand All @@ -30,15 +30,12 @@ module.exports = function(grunt) {
'**/*.php'
],
tasks: 'null'
}
},
less: {
styles: {
files: ['webroot/less/**/*.{css,less}'],
tasks: ['build:css'],
/*options: {
livereload: false
}*/
},
files: [
'webroot/less/**/*.{css,less}'
],
tasks: 'less'
}
}
});
Expand Down

0 comments on commit c5ac4af

Please sign in to comment.