[DRE-commits] [ruby-redis] 06/07: update paths, clean by default

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Aug 2 05:56:23 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-redis.

commit e6cc737e459f76407df4c5a5f5b044e13098bac4
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Aug 2 11:19:04 2015 +0530

    update paths, clean by default
---
 debian/patches/use-system-redis.patch | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/patches/use-system-redis.patch b/debian/patches/use-system-redis.patch
index 45d8f51..795d7a7 100644
--- a/debian/patches/use-system-redis.patch
+++ b/debian/patches/use-system-redis.patch
@@ -2,7 +2,14 @@ Index: ruby-redis/Rakefile
 ===================================================================
 --- ruby-redis.orig/Rakefile
 +++ ruby-redis/Rakefile
-@@ -8,7 +8,8 @@ REDIS_CNF_TEMPLATE = File.join(REDIS_DIR
+@@ -2,18 +2,19 @@ require "rake/testtask"
+ 
+ ENV["REDIS_BRANCH"] ||= "unstable"
+ 
+-REDIS_DIR = File.expand_path(File.join("..", "test"), __FILE__)
++REDIS_DIR = File.expand_path(File.join("../..", "test"), __FILE__)
+ REDIS_CNF = File.join(REDIS_DIR, "test.conf")
+ REDIS_CNF_TEMPLATE = File.join(REDIS_DIR, "test.conf.erb")
  REDIS_PID = File.join(REDIS_DIR, "db", "redis.pid")
  REDIS_LOG = File.join(REDIS_DIR, "db", "redis.log")
  REDIS_SOCKET = File.join(REDIS_DIR, "db", "redis.sock")
@@ -12,6 +19,12 @@ Index: ruby-redis/Rakefile
  
  task :default => :run
  
+ desc "Run tests and manage server start/stop"
+-task :run => [:start, :test, :stop]
++task :run => [:start, :test, :stop, :clean]
+ 
+ desc "Start the Redis server"
+ task :start => [BINARY, REDIS_CNF] do
 @@ -48,7 +49,7 @@ end
  
  desc "Clean up testing artifacts"

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



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