Sha256: 1683729bde30f94d1eb3abeeeddc65750146a546ba533ed650fcfa202720ef8e

Contents?: true

Size: 831 Bytes

Versions: 12

Compression:

Stored size: 831 Bytes

Contents

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

guard 'spork', :rspec_port => 5830 do
  watch('config/application.rb')
  watch('config/environment.rb')
  watch('config/environments/test.rb')
  watch(%r{^config/initializers/.+\.rb$})
  watch('Gemfile')
  watch('Gemfile.lock')
  watch('spec/spec_helper.rb') { :rspec }
  watch('test/test_helper.rb') { :test_unit }
  watch(%r{features/support/}) { :cucumber }
  watch(%r{^spec/support/.+\.rb$})
end




guard 'rspec', :cli => "--drb --drb-port 5830" do
  watch(%r{^spec/.+_spec\.rb$}) 
  watch(%r{^lib/(.+)\.rb$})   { "spec" } # { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch(%r{^lib/(.+)\.treetop$})   { "spec" }
  watch(%r{^lib/(.+)\.csv$})   { "spec" }
  #watch(%r{^spec/support/(.+)\.rb$})   { "spec" }
  watch('spec/spec_helper.rb')  { "spec" }
end





Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
overapp-0.5.1 Guardfile
overapp-0.5.0 Guardfile
overapp-0.4.2 Guardfile
overapp-0.4.1 Guardfile
overapp-0.4.0 Guardfile
overapp-0.3.1 Guardfile
overapp-0.3.0 Guardfile
overapp-0.2.0 Guardfile
fs_template-0.2.0 Guardfile
fs_template-0.1.2 Guardfile
fs_template-0.1.1 Guardfile
fs_template-0.1.0 Guardfile