Skip to content

Instantly share code, notes, and snippets.

@robharper
Created June 5, 2012 15:58
Show Gist options
  • Save robharper/2875925 to your computer and use it in GitHub Desktop.
Save robharper/2875925 to your computer and use it in GitHub Desktop.
Assetfile fragment showing usage of Rocco rake-pipeline filter
# Create literate-programming-style docs for all js files in src, output to docs
input "src" do
output "docs"
match "**/*.js" do
filter RoccoFilter do |filename|
filename.gsub('.js', '.html')
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment