File: ruby-tests.rake

package info (click to toggle)
ruby-haml-rails 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 212 kB
  • sloc: ruby: 283; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
require 'gem2deb/rake/testtask'

Gem2Deb::Rake::TestTask.new do |t|
  t.libs << 'lib' << 'test'
  t.test_files = FileList['test/**/*_test.rb']
end

at_exit do
    filepath = File.join(File.dirname(__FILE__),'..','tmp')
    system('rm', '-rf', filepath)
end