Skip to content

Commit

Permalink
Lint fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Sep 7, 2013
1 parent 6428f8c commit 27fecd1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = function(grunt) {
var gruntfileSrc = 'gruntfile.js';
var tasksSrc = 'tasks/**/*.js';
var testSrc = 'test/**/*.spec.js';
var fixturesJs = 'test/fixtures/**/*.js';
var fixturesAll = 'test/fixtures/**/*';

grunt.initConfig({

Expand All @@ -33,11 +35,14 @@ module.exports = function(grunt) {
tasks: {
src: tasksSrc
},
fixtures: {
tests: {
options: {
jshintrc: 'test/.jshintrc'
},
src: testSrc
},
fixturesJs: {
src: fixturesJs
}
},

Expand All @@ -50,12 +55,12 @@ module.exports = function(grunt) {
files: testSrc,
tasks: ['newer:cafemocha']
},
fixtures: {
files: 'test/fixtures/**/*',
fixturesAll: {
files: fixturesAll,
tasks: ['cafemocha']
},
all: {
files: [gruntfileSrc, tasksSrc, testSrc],
allJs: {
files: [gruntfileSrc, tasksSrc, testSrc, fixturesJs],
tasks: ['newer:jshint']
}
}
Expand Down

0 comments on commit 27fecd1

Please sign in to comment.