Sha256: 505e5633340143399d50f713fe6e26d1997db6bfc1317364461a25f97d13b997

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

gem_name = File.basename(Dir[File.expand_path("../*.gemspec", __FILE__)].first)[0..-9]

guard(:minitest, :all_after_pass => false, :all_on_start => false) do
  watch(%r{^lib/#{gem_name}/(.+)\.rb$}) { |m| "test/unit/#{m[1]}_test.rb" }
  watch(%r{^test/.+_test\.rb$})
  watch(%r{^(?:test/test_helper(.*)|lib/#{gem_name})\.rb$}) { "test" }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
remotely_exceptional-0.0.1 Guardfile