Skip to content

Commit 3cf270c

Browse files
committed
Added a configuration file for guard
1 parent 4432c94 commit 3cf270c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Guardfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# More info at https://github.com/guard/guard#readme
2+
3+
guard 'rspec' do
4+
watch(%r{^spec/.+_spec\.rb})
5+
watch(%r{^lib/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
6+
watch('spec/spec_helper.rb') { "spec" }
7+
end

0 commit comments

Comments
 (0)