Sha256: d39fc084e28dc4cb523e8c9339eb5d4d76223e2553302c988bc6d8203dc286f8

Contents?: true

Size: 468 Bytes

Versions: 15

Compression:

Stored size: 468 Bytes

Contents

REDIS_RELEASE = "2.8.17"
Execute.define_task do
  desc "redis-download", "Download redis release #{REDIS_RELEASE}"
  def redis_download
    unless windows?
      system 'rm -rf /tmp/redis/' if File.exists?("#{RedisRunner.redisdir}")
      system 'git clone git://github.com/antirez/redis.git /tmp/redis -n'
      system "cd #{RedisRunner.redisdir} && git reset --hard && git checkout #{REDIS_RELEASE}"
    else
      puts "Not implemented on Windows"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rhoconnect-7.6.0 commands/redis/redis_download.rb
rhoconnect-7.5.1 commands/redis/redis_download.rb
rhoconnect-7.4.1 commands/redis/redis_download.rb
rhoconnect-7.1.17 commands/redis/redis_download.rb
rhoconnect-6.2.0 commands/redis/redis_download.rb
rhoconnect-6.0.11 commands/redis/redis_download.rb
rhoconnect-5.5.18 commands/redis/redis_download.rb
rhoconnect-5.5.17 commands/redis/redis_download.rb
rhoconnect-5.5.15 commands/redis/redis_download.rb
rhoconnect-5.5.0.22 commands/redis/redis_download.rb
rhoconnect-5.5.2 commands/redis/redis_download.rb
rhoconnect-5.5.0.7 commands/redis/redis_download.rb
rhoconnect-5.5.0.3 commands/redis/redis_download.rb
rhoconnect-5.5.0 commands/redis/redis_download.rb
rhoconnect-5.1.1 commands/redis/redis_download.rb