File: ruby-tests.rake

package info (click to toggle)
ruby-memoizable 0.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 192 kB
  • sloc: ruby: 605; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require 'gem2deb/rake/spectask'

if RUBY_VERSION.to_f >= 3.1
  ENV['RUBYOPT'] = "#{ENV['RUBYOPT']} --disable-error_highlight"
end

Gem2Deb::Rake::RSpecTask.new(:spec) do |t|
  t.pattern = FileList['./spec/**/*_spec.rb']
end

task :default => :spec