homebrew-core/Formula/rbenv-vars.rb
Xu Cheng f129cb6f0d modernize and add test for rbenv and its family
Closes Homebrew/homebrew#36496.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-03 16:20:42 +00:00

17 lines
422 B
Ruby

class RbenvVars < Formula
homepage "https://github.com/sstephenson/rbenv-vars"
url "https://github.com/sstephenson/rbenv-vars/archive/v1.2.0.tar.gz"
sha1 "8953cecac154fac96dc1e68b54d66a4c8b569e08"
head "https://github.com/sstephenson/rbenv-vars.git"
depends_on "rbenv"
def install
prefix.install Dir["*"]
end
test do
assert shell_output("rbenv hooks exec").include? "rbenv-vars.bash"
end
end