Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 348 Bytes
path = require 'path'
{ run, compileScript } = require 'muffin'
task 'build', 'compile coffeescript → javascript', (options) ->
run
options:options
files:[
"./src/**/*.coffee"
]
map:
'src/(.+).coffee': (m) ->
compileScript m[0], path.join("lib" ,"#{m[1]}.js"), options