【发布时间】:2013-09-05 11:11:15
【问题描述】:
我正在尝试使用 Grunt 和 coffeescript 中的所有源代码构建一个项目。首先,我想通过 coffeelint 运行所有源代码。我的 Gruntfile.coffee 是:
# Gruntfile for base code for Polyglot
module.exports = ->
@initConfig
@loadNpmTasks 'grunt-coffeelint'
coffeelint:
all:["*.coffee"]
@registerTask "default",["coffeelint"]
我愿意:
咕哝
然后得到:
未找到“coffeelint”目标。
我期待 lint Gruntfile.coffee。
我做错了什么?
【问题讨论】:
标签: coffeescript gruntjs