[DRE-commits] [ruby-flexmock] 06/11: reuse upstream rakefile for tests

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Sep 15 16:44:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-flexmock.

commit ac631b53f9f3b7d6322021f8c9244a8e628e2d00
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Sep 15 13:31:02 2015 -0300

    reuse upstream rakefile for tests
    
    it's *so* nice to see a reasonable Rakefile like this ...
    
    adding bundler to Build-Depends: just to avoid patching such a nice and
    clean Rakefile ;-)
---
 debian/control         | 3 ++-
 debian/ruby-tests.rake | 7 +------
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 59beffb..ce269c5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro at debian.org>
-Build-Depends: debhelper (>= 9~),
+Build-Depends: bundler,
+               debhelper (>= 9~),
                gem2deb,
                rake,
                ruby-rspec,
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 63f3fd6..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'gem2deb/rake/testtask'
-
-Gem2Deb::Rake::TestTask.new do |t|
-  t.libs = ['test']
-  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
-end
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 120000
index 0000000..c6de17e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1 @@
+../Rakefile
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-flexmock.git



More information about the Pkg-ruby-extras-commits mailing list