Permalink
Browse files

update Guardfile

[ci skip]
  • Loading branch information...
1 parent 17da951 commit 1aa1b8f0bd829a63705ffef45b3d19e2646ce1b7 @yannlugrin yannlugrin committed Feb 24, 2012
Showing with 6 additions and 3 deletions.
  1. +1 −0 Gemfile
  2. +5 −3 Guardfile
View
@@ -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'
View
@@ -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.