Skip to content
coffeescript marger
Ruby CoffeeScript
Find file
Pull request Compare This branch is 2 commits ahead, 3 commits behind amacou:master.
Latest commit 0763bfc Nov 3, 2011 @amacou amacou Merge pull request #1 from hedgehog/patch-1
Clarify, and code format


Guard::CoffeeDripper is MergeTool for CoffeeScript


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


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

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

or Rails3.1

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

Configuration example: config/coffee-dipper.yaml
  - hoge.bean
  - huga.bean
Something went wrong with that request. Please try again.