public
Description: kompress videos and see progress
Homepage: http://github.com/kastner/kompress.git
Clone URL: git://github.com/kastner/kompress.git
Click here to lend your support to: kompress and make a donation at www.pledgie.com !
kompress / .autotest
100644 13 lines (9 sloc) 0.379 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
Autotest.add_hook :initialize do |at|
  at.clear_mappings
  
  at.add_mapping(%r|^test/.*_test\.rb$|) { |file, _| file }
  
  at.add_mapping(%r|^lib/.*\.rb$|) { |_, m| at.files_matching %r|^test/.*_test\.rb$| }
  
  at.add_mapping(%r|%lib/kompress/(.*)\.rb$|) { |_, m| ["test/#{m[1]}_test.rb"] }
  
  # at.add_mapping(/kompress.rb/) do |_, m|
  # ["test/*_test.rb"]
  # end
end