Commit fbf15f6e authored by Hideki Yamane's avatar Hideki Yamane 🐈

add debian/ruby-tests.rb and dependency

parent 9cb01a9f
......@@ -3,7 +3,7 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Hideki Yamane <henrich@debian.org>, Pirate Praveen <praveen@debian.org>
Build-Depends: debhelper (>= 11), gem2deb (>= 0.3.0~)
Build-Depends: debhelper (>= 11), gem2deb (>= 0.3.0~), rake, ruby-rspec,
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-rspec-instafail.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-rspec-instafail
......
# FIXME
# there's a spec/ or a test/ directory in the upstream source, but
# no test suite was defined in the Gem specification. It would be
# a good idea to define it here so the package gets tested at build time.
# Examples:
# $: << 'lib' << '.'
# Dir['{spec,test}/**/*.rb'].each { |f| require f }
#
# require 'test/ts_foo.rb'
#
# require 'rbconfig'
# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
# exec("#{ruby} -I. test/runtests.rb")
require 'gem2deb/rake/spectask'
Gem2Deb::Rake::RSpecTask.new do |spec|
spec.pattern = './spec/**/*_spec.rb'
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment