Sha256: 5af256a0b374e9b7f5d4a2d3a1a40d32e5f1973578c94cca39e2efcde0f9665f

Contents?: true

Size: 799 Bytes

Versions: 2

Compression:

Stored size: 799 Bytes

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' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch(%r{^lib/chulai/(.+)\.rb$})     { |m| "spec/lib/chulai/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chulai-0.1.2 Guardfile
chulai-0.1.1 Guardfile