Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 530 Bytes
guard "rspec", cmd: "bundle exec rspec" do
watch(/^spec\/.+_spec\.rb$/)
watch(/^lib\/(.+)\.rb$/) { |m| "spec/#{m[1]}_spec.rb" }
{
"actor_examples" => "actor",
"example_actor_class" => "actor",
"mailbox_examples" => %w(mailbox evented_mailbox),
"task_examples" => ["tasks/task_fiber", "tasks/task_thread"],
}.each do |examples, spec|
watch("spec/support/#{examples}.rb") do
Array(spec).map { |file| "spec/celluloid/#{file}_spec.rb" }
end
end
watch("spec/spec_helper.rb") { "spec/" }
end
Something went wrong with that request. Please try again.