grunt task also

This commit is contained in:
Peter Cottle 2012-12-09 21:14:28 -08:00
parent 8d2803e4e4
commit 71dfd200e7

View file

@ -1,32 +1,10 @@
/*global module:false*/ /*global module:false*/
module.exports = function(grunt) { module.exports = function(grunt) {
// eventually have sound...?
grunt.registerTask('compliment', function() {
grunt.log.writeln('You are awesome!');
});
grunt.initConfig({ grunt.initConfig({
lint: { lint: {
files: ['grunt.js', 'src/*.js'] files: ['grunt.js', 'src/*.js']
}, },
/*
jasmine_node: {
specNameMatcher: "./spec", // load only specs containing specNameMatcher
projectRoot: ".",
requirejs: false,
forceExit: true,
jUnit: {
report: false,
savePath : "./build/reports/jasmine/",
useDotNotation: true,
consolidate: true
}
},
watch: {
files: '<config:lint.files>',
tasks: 'lint'
},*/
jshint: { jshint: {
options: { options: {
curly: true, curly: true,
@ -55,9 +33,6 @@ module.exports = function(grunt) {
} }
}); });
//grunt.loadNpmTasks('grunt-jasmine-node');
// Default task. // Default task.
grunt.registerTask('default', 'lint jasmine_node'); grunt.registerTask('default', 'lint');
}; };