aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Hinze2015-04-26 10:07:31 -0500
committerMike McQuaid2015-04-26 19:32:03 +0100
commit6fe3c66814155f3cb5a446dd78d8f2a3e2275c7a (patch)
tree30ff55f0fa200e0567d42c4ba0d4b9d494917dfd
parent0b5ab621a591d36338570ae8ee325150a48bb946 (diff)
downloadhomebrew-6fe3c66814155f3cb5a446dd78d8f2a3e2275c7a.tar.bz2
envchain 0.2.0
Closes #39081. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/envchain.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/envchain.rb b/Library/Formula/envchain.rb
new file mode 100644
index 000000000..a0a4d0516
--- /dev/null
+++ b/Library/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