This happens with any task that I am trying to run. When working with the --verbose flag, I get:
Initializing command line options: --verbose
Reading "Gruntfile.js" Gruntfile ... OK
Gruntfile task registration. Loading tasks "Gruntfile.js" ... OK
No tasks have been registered or unregistered.
This is the grunt file:
module.export = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), karma_coveralls: { options: { coverage_dir: 'coverage' } }, jshint: { files: ['app/js/**/*.js', 'Gruntfile.js'], options: grunt.file.readJSON('.jshintrc') }, concat: { options: { seperator: ';' }, dist: { src: ['app/js/**/*.js'], dest: 'dist/app/js/<%pkg.name%>.js' } }, exec: { instrument: { cmd: function () { return 'istanbul instrument app/js -o app/instrumentjs'; } } } }); grunt.loadNpmTasks('grunt-karma-coveralls'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.registerTask('coverage', ['coveralls']); grunt.registerTask('default', ['jshint']); grunt.registerTask('instrument', ['exec: instrument']); grunt.registerTask('concat', ['concat']); };
Any idea what I'm doing wrong?
options:
grunt-cli v0.1.9 grunt v0.4.1
gruntjs
alonisser
source share