Skip to content

Commit

Permalink
Updating gruntfile to grunt 0.3.0 format.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy committed Mar 23, 2012
1 parent 20e9fa4 commit 98ca7d1
Showing 1 changed file with 37 additions and 30 deletions.
67 changes: 37 additions & 30 deletions grunt.js
@@ -1,32 +1,39 @@
/*global config:true, task:true*/ module.exports = function(grunt) {
config.init({
pkg: '<json:package.json>', // Project configuration.
test: { grunt.initConfig({
files: ['test/**/*.js'] pkg: '<json:package.json>',
}, test: {
lint: { files: ['test/**/*.js']
files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js'] },
}, lint: {
watch: { files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
files: '<config:lint.files>',
tasks: 'lint test'
},
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
eqnull: true,
node: true
}, },
globals: {} watch: {
} files: '<config:lint.files>',
}); tasks: 'default'
},
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
node: true
},
globals: {
exports: true
}
}
});

// Default task.
grunt.registerTask('default', 'lint test');


// Default task. };
task.registerTask('default', 'lint test');

0 comments on commit 98ca7d1

Please sign in to comment.