No commit activity in last 3 years
No release in over 3 years
Guard::CoffeeDripper automatically generates your coffescript from your parts of coffee
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 2.6

Runtime

>= 0.4
 Project Readme

Guard::CoffeeDripper

Guard::CoffeeDripper is MergeTool for CoffeeScript

Install

Install the gem:

gem install guard-coffeedripper

Add it to your Gemfile (inside develop group):

gem 'guard-coffeedripper'

Add coffeedripper definition to your Guardfile and config/coffee-dripper.yaml by running this command:

guard init coffeedripper

Usage

Please read Guard usage doc Guardfile for Rails3.0 and barista

guard 'coffeedripper', :output => 'app/coffscripts/', :input => 'app/coffeescripts'  do
  watch(%r{^app/coffeescripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
end

or Rails3.1

guard 'coffeedripper', :output => 'app/assets/javascripts/', :input => 'app/assets/javascripts/' do
  watch(%r{^app/assets/javascripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
end

config/coffee-dipper.yaml appplication.js.coffee: - hoge.bean - huga.bean