19 lines
403 B
CoffeeScript
19 lines
403 B
CoffeeScript
module.exports = (grunt) ->
|
|
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks)
|
|
|
|
grunt.initConfig {
|
|
coffee:
|
|
compile:
|
|
expand: true
|
|
cwd: 'src'
|
|
src: [ '*.coffee' ]
|
|
dest: 'dist'
|
|
ext: '.js'
|
|
watch:
|
|
coffee:
|
|
files: [ 'src/*.coffee' ]
|
|
tasks: [ 'coffee:compile' ]
|
|
}
|
|
|
|
grunt.registerTask 'default', 'watch:coffee'
|