You can clone with
# convert coffee files into JS files
matches "*.coffee" do
filter(CoffeeScriptFilter) do |file|
# concatenate all js files into application.js, will include
# the coffeescript files in the previous step
matches "*.js" do
filter Rake::Pipeline::ConcatFilter, "application.js"