File: ruby-tests.rake

package info (click to toggle)
ruby-neovim 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: ruby: 4,178; sh: 23; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 283 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
require 'gem2deb/rake/spectask'

fakehome = File.dirname(__FILE__) + "/fakehome"
Dir.mkdir(fakehome) unless File.exist?(fakehome)
ENV["HOME"] = fakehome

Gem2Deb::Rake::RSpecTask.new do |spec|
  spec.pattern = './spec/**/*_spec.rb'
  spec.exclude_pattern = './spec/acceptance/*'
end