Sha256: dbcc75eecd4693497571da484e2ae926596e7db6c89d349031c2c9b8758505a4

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

require 'autotest/menu'

Autotest.add_hook :initialize do |at|
  at.clear_mappings
  
  at.add_mapping(%r%lib/(.*)\.rb$%) { |filename, match|
    at.files_matching %r%^spec/#{match[1]}.*\.rb$%
  }
  at.add_mapping(%r%^spec/.*\.rb$%) { |filename, match|
    filename
  }
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
relevance-cap_gun-0.0.10 .autotest
relevance-cap_gun-0.2.0 .autotest
cap_gun-0.2.4 .autotest
cap_gun-0.2.2 .autotest
cap_gun-0.2.1 .autotest
cap_gun_reloaded-0.2.1 .autotest
cap_gun_reloaded-0.2.0 .autotest
cap_gun-0.2.0 .autotest