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