Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 436 Bytes
muffin = require 'muffin'
option '-w', '--watch', 'continue to watch the files and rebuild them when they change'
option '-c', '--commit', 'operate on the git index instead of the working tree'
task 'build', 'compile deefer and all the tools', (options) ->
muffin.run
files: './src/**/*'
options: options
map:
'src/(.+)\.coffee' : (matches) -> muffin.compileScript(matches[0], "lib/#{matches[1]}.js", options)