File: discover.rb

package info (click to toggle)
ruby-bacon 1.2.0-6.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 200 kB
  • sloc: ruby: 772; makefile: 7
file content (9 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
Autotest.add_discovery do
  if File.exist?('spec/.bacon') || File.exist?('test/.bacon')
    class Autotest
      @@discoveries.delete_if { |d| d.inspect =~ /rspec/ }
      warn 'Removing rspec from autotest!'
    end
    'bacon'
  end
end