homebrew-core/Formula/direnv.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

29 lines
788 B
Ruby

class Direnv < Formula
desc "Load/unload environment variables based on $PWD"
homepage "http://www.direnv.net"
url "https://github.com/zimbatm/direnv/archive/v2.6.0.tar.gz"
sha256 "b85aac4d6a4ddf2daf193aabb3b2faf89e56507d33d763ab74cc7eb0b524ac03"
head "https://github.com/zimbatm/direnv.git"
bottle do
cellar :any
sha1 "0cee43bd9df0e2f376e6edfaaebb6ca537df0692" => :yosemite
sha1 "9d0cd4d5ec285daba2d2e4237cac58e963fd88fc" => :mavericks
sha1 "26f4abf81efa2bcf23ae58c0a913ac6b93ef3f1d" => :mountain_lion
end
depends_on "go" => :build
def install
system "make", "install", "DESTDIR=#{prefix}"
end
def caveats
"Finish setup by following: https://github.com/zimbatm/direnv#setup"
end
test do
system bin/"direnv", "status"
end
end