Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Setup for #39 RECESS checkstyle.xml: add sample Gruntfile config, add…
Browse files Browse the repository at this point in the history
… underscore to deps
  • Loading branch information
David Herges (DHE) committed Oct 11, 2013
1 parent 7a02cbe commit d2dc671
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
test/main.css
test/main.css
test/checkstyle
15 changes: 13 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ module.exports = function (grunt) {
'test/main.css': ['test/fixtures/valid.less']
}
},
checkstyle: {
options: {
report: {
reporter: 'checkstyle',
output: 'test/checkstyle/report.xml',
mapping: 'test/fixtures/recess-checkstyle.json'
}
},
src: ['test/fixtures/valid.less', 'test/fixtures/valid.css', 'test/fixtures/invalid.css'],
dest: 'test/checkstyle/referencable.css'
},
pass: {
files: {
src: [
Expand All @@ -32,8 +43,8 @@ module.exports = function (grunt) {
},
all: [
'Gruntfile.js',
'tasks/*.js',
'tests/*.js'
'tasks/**/*.js',
'tests/**/*.js'
]
}
});
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"dependencies": {
"recess": "~1.1.6",
"grunt-lib-contrib": "~0.6.0"
"grunt-lib-contrib": "~0.6.0",
"underscore": "~1.4"
},
"devDependencies": {
"grunt": "~0.4.0",
Expand Down

0 comments on commit d2dc671

Please sign in to comment.