File: ruby-tests.rake

package info (click to toggle)
ruby-enumerable-statistics 2.0.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,148 kB
  • sloc: ruby: 2,270; ansic: 2,031; javascript: 408; makefile: 8; sh: 4
file content (11 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
require 'gem2deb/rake/spectask'

if RbConfig::CONFIG["arch"] =~ /i386/
  task :default do
    puts 'I: skipping tests on i386 as they need SSE2'
  end
else
  Gem2Deb::Rake::RSpecTask.new do |spec|
    spec.pattern = './spec/**/*_spec.rb'
  end
end