Minor modifs to grunt file
bzr revid: nicolas.vanhoren@openerp.com-20130725120742-0omjb6l80kwon2vi
This commit is contained in:
parent
ec9ae7ec81
commit
faffe8805c
|
@ -1,20 +1,20 @@
|
|||
module.exports = function(grunt) {
|
||||
|
||||
grunt.initConfig({
|
||||
jshint: {
|
||||
files: ['static/src/**/*.js', 'static/test/**/*.js'],
|
||||
options: {
|
||||
sub: true, //[] instead of .
|
||||
evil: true, //eval
|
||||
laxbreak: true, //unsafe line breaks
|
||||
},
|
||||
}
|
||||
});
|
||||
grunt.initConfig({
|
||||
jshint: {
|
||||
src: ['static/src/**/*.js', 'static/test/**/*.js'],
|
||||
options: {
|
||||
sub: true, //[] instead of .
|
||||
evil: true, //eval
|
||||
laxbreak: true, //unsafe line breaks
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
|
||||
grunt.registerTask('test', ['jshint']);
|
||||
grunt.registerTask('test', ['jshint']);
|
||||
|
||||
grunt.registerTask('default', ['jshint']);
|
||||
grunt.registerTask('default', ['jshint']);
|
||||
|
||||
};
|
Loading…
Reference in New Issue