Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
input "app/assets"
output "public"
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment