diff options
| author | Paul Hinze | 2015-04-26 10:07:31 -0500 | 
|---|---|---|
| committer | Mike McQuaid | 2015-04-26 19:32:03 +0100 | 
| commit | 6fe3c66814155f3cb5a446dd78d8f2a3e2275c7a (patch) | |
| tree | 30ff55f0fa200e0567d42c4ba0d4b9d494917dfd /Library/Formula/envchain.rb | |
| parent | 0b5ab621a591d36338570ae8ee325150a48bb946 (diff) | |
| download | homebrew-6fe3c66814155f3cb5a446dd78d8f2a3e2275c7a.tar.bz2 | |
envchain 0.2.0
Closes #39081.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/envchain.rb')
| -rw-r--r-- | Library/Formula/envchain.rb | 14 | 
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 | 
