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*/
module.exports = function(grunt) {
// eventually have sound...?
grunt.registerTask('compliment', function() {
grunt.log.writeln('You are awesome!');
});
grunt.initConfig({
lint: {
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: {
options: {
curly: true,
@ -55,9 +33,6 @@ module.exports = function(grunt) {
}
});
//grunt.loadNpmTasks('grunt-jasmine-node');
// Default task.
grunt.registerTask('default', 'lint jasmine_node');
grunt.registerTask('default', 'lint');
};