diff options
| author | Gibheer <gibheer@gmail.com> | 2012-11-13 21:56:18 +0100 | 
|---|---|---|
| committer | Gibheer <gibheer@gmail.com> | 2012-11-13 21:56:18 +0100 | 
| commit | d9c22d2103513bea442230aaddff93da30bc13d8 (patch) | |
| tree | 59d5f97dc06ff67e8923f62ab3cf2e350481ea85 /Guardfile | |
| parent | 77130b3a23a67c273e8eb1bc6ea8c2c0176eac5b (diff) | |
added simple guardfile
Diffstat (limited to 'Guardfile')
| -rw-r--r-- | Guardfile | 15 | 
1 files changed, 15 insertions, 0 deletions
| 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 + | 
