Created
July 8, 2013 11:23
-
-
Save ferclaverino/5947995 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
mochacli: { | |
options: { | |
reporter: 'nyan', | |
bail: true | |
}, | |
all: ['test/*.js'] | |
}, | |
jshint: { | |
ignore_warning: { | |
options: { | |
'-W051': true, | |
}, | |
src: ['*.js'] | |
}, | |
all: ['Gruntfile.js', 'test/**/*.js'] | |
} | |
}); | |
grunt.loadNpmTasks('grunt-mocha-cli'); | |
grunt.loadNpmTasks('grunt-contrib-jshint'); | |
// Add a default task. This is optional, of course :) | |
grunt.registerTask('default', ['mochacli', 'jshint']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment