Guard::Cane
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.