Guard::Spin
Guard::Spin automatically starts and stops Spin server.
Install
Please be sure to have Guard installed before continue.
Install the gem:
$ gem install guard-spin
Add it to your Gemfile (inside development group):
gem 'guard-spin'
Add guard definition to your Guardfile by running this command:
$ guard init spin
Usage
Please read Guard usage doc
Guardfile
Please read Guard doc for more information about the Guardfile DSL.
Options
Available options:
:rspec => false # Don't use RSpec
:test_unit => false # Don't use Test::Unit
:bundler => false # Don't use "bundle exec"
:cli => '--time' # Pass options to spin serve. `spin -h` for more spin options
:env => "ENVVAR=value" # Pass ENV variables to the spin serve process
:run_all => true # Run all tests when hitting enter in guard
Development
- Source hosted at GitHub
- Report issues/Questions/Feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.