generator-rps
Version:
Generator-rps is a starting point for frontend projects powered by Yeoman.
13 lines (11 loc) • 387 B
text/coffeescript
module.exports = (grunt) ->
grunt.config "coffee",
compile:
files:
"js/app.js": "coffee/app.coffee"
jasmine_specs:
files: grunt.file.expandMapping(["specs/*.coffee"], "specs/js/", {
rename: (destBase, destPath) ->
destBase + destPath.replace(/\.coffee$/, ".js").replace(/specs\//, "")
})
grunt.loadNpmTasks 'grunt-contrib-coffee'