Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 434 Bytes
guard "bundler" do
watch("Gemfile")
watch(/^.+\.gemspec/)
end
guard "spork", rspec_port: 2730 do
watch("Gemfile")
watch("Gemfile.lock")
watch(".rspec") { :rspec }
watch("spec/spec_helper.rb") { :rspec }
end
guard "rspec", cli: '--drb --drb-port 2727' do
watch(%r{^spec/.+_spec\.rb$})
watch("lib/profiler.rb") { "spec" }
watch(%r{^lib/profiler/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
end