Sha256: b220b767ade854a03977f7dc217f0daa8ecdf20346614b6e1f24a39ec7f33806

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

# Note: The cmd option is now required due to the increasing number of ways
#       rspec may be run, below are examples of the most common uses.
#  * bundler: 'bundle exec rspec'
#  * bundler binstubs: 'bin/rspec'
#  * spring: 'bin/rsspec' (This will use spring if running and you have
#                          installed the spring binstubs per the docs)
#  * zeus: 'zeus rspec' (requires the server to be started separetly)
#  * 'just' rspec: 'rspec'
guard :rspec, cmd: 'bundle exec rspec -f doc' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^lib/thousand_island/(.+)\.rb$})     { |m| "spec/thousand_island/#{m[1]}_spec.rb" }
  watch(%r{^lib/thousand_island/utilities/(.+)\.rb$})     { |m| "spec/thousand_island/utilities/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }

  # Turnip features and steps
  # watch(%r{^spec/acceptance/(.+)\.feature$})
  # watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$})   { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thousand_island-0.1.2 Guardfile
thousand_island-0.1.1 Guardfile
thousand_island-0.1.0 Guardfile
thousand_island-0.0.1 Guardfile