Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (22 sloc) 0.88 kb
6a85896 Dudley Flanders Add a README.
dudleyf authored
1 = Rake::Pipeline::Web::Filters
2
3 Rake::Pipeline::Web::Filters is a collection of filters for Rake::Pipeline
4 for creating pipelines to generate web content.
5
6 = Usage
7
8 In your +Assetfile+:
9
10 !!!ruby
11 require "rake-pipeline-web-filters"
12
13 input "assets"
14 output "public"
15
16 # Take all JS inputs and wrap each of them in code to
17 # register them with the Minispade module loader.
18 match "*.js" do
19 filter Rake::Pipeline::Web::Filters::MinispadeFilter
20 end
21
22 # Take all SCSS inputs and compile them with Sass
23 match "*.scss" do
24 filter Rake::Pipeline::Web::Filters::SassCompiler
25 end
26
27 = Available Filters
28
29 * {Rake::Pipeline::Web::Filters::MinispadeFilter}: Wraps JS code for use with Minispade
30 * {Rake::Pipeline::Web::Filters::SassCompiler}: Compiles SCSS or Sass to CSS
31 * {Rake::Pipeline::Web::Filters::TiltFilter}: Compiles templates with the Tilt template interface
32
Something went wrong with that request. Please try again.