From 184704c0fa05ef2510a13a18b683326dd2a5c4ef Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Sun, 26 Apr 2015 10:07:31 -0500 Subject: [PATCH] envchain 0.2.0 Closes Homebrew/homebrew#39081. Signed-off-by: Mike McQuaid --- Formula/envchain.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Formula/envchain.rb diff --git a/Formula/envchain.rb b/Formula/envchain.rb new file mode 100644 index 0000000000..a0a4d05168 --- /dev/null +++ b/Formula/envchain.rb @@ -0,0 +1,14 @@ +class Envchain < Formula + homepage "https://github.com/sorah/envchain" + head "https://github.com/sorah/envchain.git" + url "https://github.com/sorah/envchain/archive/v0.2.0.tar.gz" + sha256 "2a863688d1e0bdc47ba8339f57c8b5e22f5002fd3ab58928766e45f23c6ca267" + + def install + system "make", "DESTDIR=#{prefix}", "install" + end + + test do + assert_match /envchain version #{version}/, shell_output("#{bin}/envchain 2>&1", 2) + end +end