public
Last active

Assetfile and dir structure

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
require "rake-pipeline-web-filters"
 
output "assets"
 
input "." do
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
end
 
# vim: filetype=ruby
ls-r.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
./project/
./project/app/
./project/app/controllers/
./project/app/css/
./project/app/models/
./project/app/views/
./project/app/templates/
./project/app/main.js
./project/assets/
./project/lib/
./project/lib/ember-0.9.4.js
./project/lib/jquery-1.7.1.js
./project/lib/minispade.js
./project/tmp/
./project/Assetfile
./project/config.ru
./project/index.html

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.