chef/cookbooks/redis/Guardfile
2015-07-21 19:45:23 +02:00

6 lines
200 B
Ruby

guard :rspec, cmd: "rspec --color", all_on_start: false do
watch(/^spec\/(.+)_spec\.rb$/)
watch(/^recipes\/(.+)\.rb$/) { |m| "spec/#{m[1]}_spec.rb" }
watch("spec/spec_helper.rb") { "spec" }
end