summaryrefslogtreecommitdiff
path: root/Guardfile
diff options
context:
space:
mode:
Diffstat (limited to 'Guardfile')
-rw-r--r--Guardfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile
new file mode 100644
index 0000000..455fe9f
--- /dev/null
+++ b/Guardfile
@@ -0,0 +1,6 @@
+guard :rspec do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
+