Automatically run Cane when files change
Ruby
Pull request Compare This branch is 32 commits ahead of justincampbell:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/guard
spec
.gitignore
.rspec
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
guard-cane.gemspec

README.md

Guard::Cane

Build Status Gem Version

Guard::Cane automatically runs Cane when files change.

Installation

Put this in your Gemfile:

group :development
  gem 'guard-cane'
end

And then install with:

$ bundle
$ guard init cane

This will place the following in your Guardfile:

guard :cane do
  watch(%r{^(.+)\.rb$})
end

It's also recommended to add a .cane file to your project:

--abc-max 10
--no-doc
--style-exclude spec/**/*

See square/cane for detailed usage.