homebrew-core/Formula/envchain.rb

24 lines
913 B
Ruby
Raw Normal View History

class Envchain < Formula
desc "Secure your credentials in environment variables"
homepage "https://github.com/sorah/envchain"
url "https://github.com/sorah/envchain/archive/v1.0.1.tar.gz"
sha256 "09af1fe1cfba3719418f90d59c29c081e1f22b38249f0110305b657bd306e9ae"
head "https://github.com/sorah/envchain.git"
2015-04-26 17:21:54 +00:00
bottle do
2015-11-28 03:04:19 +00:00
cellar :any_skip_relocation
2016-09-27 22:43:45 +00:00
sha256 "42419c23d7dd363b9232918f69fa4ea01270b6eb4dc9c4b1c4d5170ff920fda3" => :sierra
2016-07-19 06:12:25 +00:00
sha256 "4e34971c35ec6a716995a5e8d491970809bb5ce6c5651676f70d757b4044c834" => :el_capitan
sha256 "1de7c8c17e489b1f832078d3e5c403133accd187f2e666b44bb4da5d1d74f9f7" => :yosemite
sha256 "97f5160a1a9ec028afbaf25416de61f976ef7d74031a55c0f265d158627d4afd" => :mavericks
2015-04-26 17:21:54 +00:00
end
def install
system "make", "DESTDIR=#{prefix}", "install"
end
test do
assert_match /envchain version #{version}/, shell_output("#{bin}/envchain 2>&1", 2)
end
end