homebrew-core/Formula/tfenv.rb
2017-07-17 23:25:25 -07:00

19 lines
532 B
Ruby

class Tfenv < Formula
desc "Terraform version manager inspired by rbenv"
homepage "https://github.com/kamatama41/tfenv"
url "https://github.com/kamatama41/tfenv/archive/v0.5.0.tar.gz"
sha256 "04c0188b293f61a5e4722d3b288025078f1c3a68ced5e7cea430f7122e5eabed"
head "https://github.com/kamatama41/tfenv.git"
bottle :unneeded
conflicts_with "terraform", :because => "tfenv symlinks terraform binaries"
def install
prefix.install ["bin", "libexec"]
end
test do
system bin/"tfenv", "list-remote"
end
end