Sha256: 2e0a19326fbae48f8371631965f999a67e4b2429ce471a96c7fe8b2c345dff09

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

# vim: set filetype=ruby : 

require 'autotest/restart'
require 'autotest/growl'

Autotest.add_hook :initialize do |at|
  at.testlib = 'minitest/spec'
  
  at.clear_mappings
  at.add_mapping(/^lib\/(.*)\.rb$/) { |f, m| "spec/#{m[1]}_spec.rb" }
  at.add_mapping(/^spec\/.*_spec\.rb$/) { |f,_| f }
  at.add_mapping(/^spec\/spec_helper\.rb$/) { |f,_|
    at.files_matching(/^spec\/.*_spec\.rb$/)
  }
  
  at.add_exception '.git'
  at.add_exception 'coverage'
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ircbgb-0.0.1.pre .autotest
cognitive_distance-0.0.1.pre .autotest