Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ae6868e382
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (39 sloc) 0.881 kb
require "slim"
require "rake-pipeline-web-filters"
output "public"
input "assets" do
match "images/*.png" do
Rake::Pipeline::Web::Filters::CacheBusterFilter.processes_binary_files
cache_buster
end
match "stylesheets/{index,cv}.less" do
cache_buster
less :paths => ["./assets/stylesheets"]
yui_css do |input|
input.sub "\.min", ""
end
end
match "statics/**/*" do
copy do |input|
input.sub "statics/", ""
end
end
end
input "assets" do
match "templates/{layout,index}.slim" do
tilt_yielding(
:yields_to => ["layout","index"],
:output_name => "index.html",
:locals => {:page => "index"}
)
end
end
input "assets" do
match "templates/{layout,cv}.slim" do
tilt_yielding(
:yields_to => ["layout","cv"],
:output_name => "cv.html",
:locals => {:page => "cv"}
)
end
end
Jump to Line
Something went wrong with that request. Please try again.