[DRE-commits] [ruby-cabin] 03/05: Create ruby-tests.rake file

Lucas Moura lucasmoura-guest at moszumanska.debian.org
Tue Mar 15 19:54:35 UTC 2016


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

lucasmoura-guest pushed a commit to branch master
in repository ruby-cabin.

commit 9be896f406037f582efb07521bbc1efce71a4d51
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date:   Tue Mar 15 16:48:26 2016 -0300

    Create ruby-tests.rake file
---
 debian/changelog       | 1 +
 debian/control         | 3 +--
 debian/ruby-tests.rake | 9 +++++++++
 debian/ruby-tests.rb   | 2 --
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 52eafe1..bea69c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-cabin (0.8.1-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release
+  * Create ruby-tests.rake file 
 
  -- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>  Tue, 15 Mar 2016 16:29:26 -0300
 
diff --git a/debian/control b/debian/control
index ae3dc58..4356427 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,7 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Tim Potter <tpot at hp.com>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
-               ruby-minitest,
-               ruby-simplecov
+               rake,
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-cabin.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-cabin.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..95fc81c
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,9 @@
+require 'gem2deb/rake/testtask'
+
+Rake::TestTask.new(:test) do |t|
+  t.libs << "test"
+  t.test_files = FileList['test/all.rb']
+  t.verbose = true
+end
+
+task :default => :test
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 32eeb9c..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'lib' << '.'
-require 'test/all.rb'

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



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