Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Guard::Spin automatically manage Spin server.
Ruby
Branch: master
Pull request Compare This branch is 70 commits ahead of jonsgreen:master.

Merge pull request #18 from nexiahome/master

Update guard-spin to use new Guard plugin method
latest commit b09ee39e5b
@jgeiger jgeiger authored
Failed to load latest commit information.
lib/guard Update to 0.4.0, update rspec syntax, add guard-compat
spec Update to 0.4.0, update rspec syntax, add guard-compat
.gitignore Ignore vendor/bundle
CHANGELOG.md Version bump to 0.3.0
Gemfile Added Guard.
Guardfile Added Guard.
LICENSE
README.md update Readme to reflect env option
Rakefile Initial guard runner support for Spin
guard-spin.gemspec Update to 0.4.0, update rspec syntax, add guard-compat

README.md

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

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

Many Thanks To

Something went wrong with that request. Please try again.