homebrew-core/Formula/redis-tools.rb

14 lines
391 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class RedisTools < Formula
2011-05-27 05:02:55 +00:00
head 'https://github.com/antirez/redis-tools.git'
homepage 'https://github.com/antirez/redis-tools'
def install
# Architecture isn't detected correctly on 32bit Snow Leopard without help
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
system "make"
bin.install ["redis-load", "redis-stat"]
end
end