Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (10 sloc) 0.536 kb
1 2 3 4 5 6 7 8 9 10 11 12
# -*- ruby -*-

format = 'doc' # 'doc' for more verbose, 'progress' for less
tags = %w[ ] # builder_spec model_spec

guard 'rspec', :version => 2, :cli => "--format #{format} #{ tags.map{|tag| "--tag #{tag}"}.join(' ') }" do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^examples/(.+)\.rb$}) { |m| "spec/examples/#{m[1]}_spec.rb" }
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}}_spec.rb" }
  watch('spec/spec_helper.rb') { 'spec' }
  watch(/spec\/support\/(.+)\.rb/) { 'spec' }
end
Something went wrong with that request. Please try again.