File: ruby-tests.rake

package info (click to toggle)
ruby-jekyll-data 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 420 kB
  • sloc: ruby: 909; sh: 95; makefile: 10
file content (10 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
File.delete("debian/Gemfile.lock") if File.exist?("debian/Gemfile.lock")
require 'gem2deb/rake/testtask'

ENV["BUNDLE_GEMFILE"] = File.expand_path("Gemfile", __dir__)

Gem2Deb::Rake::TestTask.new do |t|
  t.libs = ['test']
  t.ruby_opts << "-rbundler/setup"
  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
end