Sha256: 250468fa524c128c8f91c87e45eeb4aa3c4e2b94682c5261a6685122f1fb626e

Contents?: true

Size: 659 Bytes

Versions: 14

Compression:

Stored size: 659 Bytes

Contents

if Gem.available?("autotest-fsevent")
  require 'autotest/fsevent'
end

Autotest.add_hook :initialize do |at|
  at.add_exception(%r{^\./\.git})
  at.add_exception(%r{^\./db})
  at.add_exception(%r{^\./log})
  at.add_exception(%r{^\./tmp})
  at.add_exception(%r{^\./spec/tmp})
  at.add_exception(%r{^\./rerun.txt})
  at.add_exception(%r{^\./Gemfile.lock})
  at.add_exception(%r{^\./Gemfile.lock})
  at.add_exception(%r{^\./spec/.*?\.txt})
  at.add_exception(%r{^\./spec/.*?\.html})
  
  at.add_mapping(%r%^spec/(.*?)/.*rb$%) { |filename, _|
    filename
  }
  at.add_mapping(%r%^lib/(.*?)\/([^\/]*?)\.rb$%) { |_, m|
    ["spec/#{m[1]}/#{m[2]}_spec.rb"]
  }
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
checksummer-0.3.0 .autotest
checksummer-0.2.6 .autotest
checksummer-0.2.5 .autotest
checksummer-0.2.4 .autotest
checksummer-0.2.3 .autotest
checksummer-0.2.2 .autotest
checksummer-0.2.1 .autotest
checksummer-0.2.0 .autotest
checksummer-0.1.8 .autotest
checksummer-0.1.7 .autotest
checksummer-0.1.6 .autotest
checksummer-0.1.5 .autotest
checksummer-0.1.4 .autotest
checksummer-0.1.2 .autotest