Sha256: a5fdc5a427eb74ee2cc79e18c29d5b28ef73017d9c675886273da24712e0c480
Contents?: true
Size: 468 Bytes
Versions: 3
Compression:
Stored size: 468 Bytes
Contents
REDIS_RELEASE = "2.6.16" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rhoconnect-4.0.4 | commands/redis/redis_download.rb |
rhoconnect-4.0.3 | commands/redis/redis_download.rb |
rhoconnect-4.0.2 | commands/redis/redis_download.rb |