Skip to content

Commit

Permalink
use guard for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu911 committed Jan 5, 2015
1 parent 87d1a5a commit 744244d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
guard :minitest do
# with Minitest::Unit
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
watch(%r{^lib/zip/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
watch(%r{^test/test_helper\.rb$}) { 'test' }
end
2 changes: 2 additions & 0 deletions rubyzip.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ spec = Gem::Specification.new do |s|
s.add_development_dependency 'pry', '~> 0.10'
s.add_development_dependency 'minitest', '~> 5.4'
s.add_development_dependency 'coveralls', '~> 0.7'
s.add_development_dependency 'guard'
s.add_development_dependency 'guard-minitest'
end

0 comments on commit 744244d

Please sign in to comment.