2015-04-26 15:07:31 +00:00
|
|
|
class Envchain < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Secure your credentials in environment variables"
|
2015-04-26 15:07:31 +00:00
|
|
|
homepage "https://github.com/sorah/envchain"
|
2016-07-19 06:07:04 +00:00
|
|
|
url "https://github.com/sorah/envchain/archive/v1.0.1.tar.gz"
|
|
|
|
sha256 "09af1fe1cfba3719418f90d59c29c081e1f22b38249f0110305b657bd306e9ae"
|
2015-10-05 13:37:16 +00:00
|
|
|
head "https://github.com/sorah/envchain.git"
|
2015-04-26 15:07:31 +00:00
|
|
|
|
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
|
|
|
|
|
2015-04-26 15:07:31 +00:00
|
|
|
def install
|
|
|
|
system "make", "DESTDIR=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match /envchain version #{version}/, shell_output("#{bin}/envchain 2>&1", 2)
|
|
|
|
end
|
|
|
|
end
|