wycats / rake-pipeline-web-filters

MIT License
116 stars 34 forks source link

Rake::Pipeline::Web::Filters Build Status

This project contains a set of rake-pipeline filters for building web apps.

It includes these filters:

Here's a quick example of a realistic project's Assetfile:

# Assetfile
require 'rake-pipeline-web-filters'

output "site"

input "javascripts" do
  match "**/*.coffee" do
    coffee_script
  end

  match "**/*.js" do
    minispade
    concat "application.js"
    uglify
  end
end

input "stylesheets" do
  match "**/*.sass" do
    sass
  end

  match "**/*.css" do
    concat "application.css"
    yui_css
  end
end

API documentation is hosted at rubydoc.info