Sha256: 8527164577bc9a23a713b0bf1fee77d85294002deaf32c5096ec57897e3658fc

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

REDIS_RELEASE = "2.6.11"
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

4 entries across 4 versions & 1 rubygems

Version Path
rhoconnect-4.0.0 commands/redis/redis_download.rb
rhoconnect-4.0.0.beta.24 commands/redis/redis_download.rb
rhoconnect-4.0.0.beta.10 commands/redis/redis_download.rb
rhoconnect-4.0.0.beta.12 commands/redis/redis_download.rb