Wednesday, 4 September 2013

In Grunt, no targets found

In Grunt, no targets found

I am trying to build a project using Grunt with all the source in
coffeescript. To start with I want to run all the source through
coffeelint. My Gruntfile.coffee is:
# Gruntfile for base code for Polyglot
module.exports = ->
@initConfig
@loadNpmTasks 'grunt-coffeelint'
coffeelint:
all:["*.coffee"]
@registerTask "default",["coffeelint"]
I do:
grunt
and get:
No "coffeelint" targets found.
I am expecting to lint Gruntfile.coffee.
What am I doing wrong?

No comments:

Post a Comment