[DRE-commits] [ruby-dep-selector] 12/17: Add rake task to run tests during build

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Thu Jun 25 21:36:16 UTC 2015


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-dep-selector.

commit af0c87551de4aabb6d086099e189f0d6c8fe59f8
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Thu Jun 25 19:07:28 2015 +0300

    Add rake task to run tests during build
---
 debian/ruby-tests.rake | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..dcc1601
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec

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



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