2011-06-04 19:53:18 +00:00
|
|
|
class Direnv < Formula
|
2015-02-17 15:45:05 +00:00
|
|
|
homepage "http://www.direnv.net"
|
|
|
|
url "https://github.com/zimbatm/direnv/archive/v2.6.0.tar.gz"
|
|
|
|
sha1 "ebfa8c087aadeffe2c8f84128082d670d22ea541"
|
2011-06-04 19:53:18 +00:00
|
|
|
|
2015-02-17 15:45:05 +00:00
|
|
|
head "https://github.com/zimbatm/direnv.git"
|
2011-06-04 19:53:18 +00:00
|
|
|
|
2014-11-05 15:40:52 +00:00
|
|
|
bottle do
|
2015-02-20 15:36:40 +00:00
|
|
|
cellar :any
|
2015-02-16 13:50:34 +00:00
|
|
|
sha1 "0cee43bd9df0e2f376e6edfaaebb6ca537df0692" => :yosemite
|
|
|
|
sha1 "9d0cd4d5ec285daba2d2e4237cac58e963fd88fc" => :mavericks
|
|
|
|
sha1 "26f4abf81efa2bcf23ae58c0a913ac6b93ef3f1d" => :mountain_lion
|
2014-11-05 15:40:52 +00:00
|
|
|
end
|
|
|
|
|
2013-06-16 12:44:22 +00:00
|
|
|
depends_on "go" => :build
|
|
|
|
|
2011-06-04 19:53:18 +00:00
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "install", "DESTDIR=#{prefix}"
|
2011-06-04 19:53:18 +00:00
|
|
|
end
|
2011-09-21 16:19:17 +00:00
|
|
|
|
2015-02-16 13:55:15 +00:00
|
|
|
def caveats
|
|
|
|
"Finish setup by following: https://github.com/zimbatm/direnv#setup"
|
2011-09-21 16:19:17 +00:00
|
|
|
end
|
2015-02-17 15:45:05 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"direnv", "status"
|
|
|
|
end
|
2011-06-04 19:53:18 +00:00
|
|
|
end
|