File: ruby-tests.rake

package info (click to toggle)
ruby-haml 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,016 kB
  • sloc: ruby: 9,830; ansic: 536; sh: 23; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
require 'gem2deb/rake/testtask'

exclude = %w[
  test/haml/filters/coffee_test.rb
  test/haml/filters/markdown_test.rb
]

Gem2Deb::Rake::TestTask.new do |t|
  t.libs = ['test']
  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - exclude
  t.ruby_opts = %w[-rtest_helper]
end