From d9c22d2103513bea442230aaddff93da30bc13d8 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 13 Nov 2012 21:56:18 +0100 Subject: added simple guardfile --- Guardfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Guardfile (limited to 'Guardfile') diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..b5c7298 --- /dev/null +++ b/Guardfile @@ -0,0 +1,15 @@ +# A sample Guardfile +# More info at https://github.com/guard/guard#readme + +guard 'bundler' do + watch('Gemfile') + # Uncomment next line if Gemfile contain `gemspec' command + watch(/^.+\.gemspec/) +end + +guard 'rspec', :version => 2 do + watch(%r{^spec/.+_spec\.rb$}) + watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } + watch('spec/spec_helper.rb') { "spec" } +end + -- cgit v1.2.3-70-g09d2