Skip to content

Commit

Permalink
update Guardfile
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
yannlugrin committed Feb 24, 2012
1 parent 17da951 commit 1aa1b8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -16,4 +16,5 @@ if RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
gem 'rb-fchange', '~> 0.0.2', :require => false
gem 'rb-notifu', '~> 0.0.4', :require => false
end
gem 'rb-readline'

8 changes: 5 additions & 3 deletions Guardfile
@@ -1,5 +1,7 @@

guard 'minitest' do
watch(%r|^spec/(.*)_spec\.rb$|)
watch(%r|^lib/(.*)\.rb$|) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
watch(%r|^spec/(.*)_spec\.rb|)
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
watch(%r|^spec/spec_helper\.rb|) { 'spec' }
end

0 comments on commit 1aa1b8f

Please sign in to comment.