Skip to content

Instantly share code, notes, and snippets.

@joewest
Created January 25, 2012 21:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joewest/1678702 to your computer and use it in GitHub Desktop.
Save joewest/1678702 to your computer and use it in GitHub Desktop.
Assetfile
require "rake-pipeline-web-filters"
input "."
output "assets"
match "{assets,tmp}/**/*" do
filter PipelineFinalizingFilter
end
match "app/**/*.js" do
minispade
concat "bpm.js"
end
match "lib/*.js" do
concat %w[
lib/jquery-1.7.1.js
lib/minispade.js
lib/ember-0.9.4.js
lib/bootstrap-buttons.js
lib/bootstrap-dropdown.js
lib/bootstrap-modal.js
lib/transformjs.1.0.beta.2.js
], "bpm.js"
end
match "*.css" do
concat %w[
app/css/boostrap.css
app/css/style.css
], "bpm.css"
end
# vim: filetype=ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment