homebrew-core/Formula/rbenv-vars.rb
2015-10-23 16:03:11 +08:00

19 lines
531 B
Ruby

class RbenvVars < Formula
desc "Safely sets global and per-project environment variables"
homepage "https://github.com/sstephenson/rbenv-vars"
url "https://github.com/sstephenson/rbenv-vars/archive/v1.2.0.tar.gz"
sha256 "9e6a5726aad13d739456d887a43c220ba9198e672b32536d41e884c0a54b4ddb"
head "https://github.com/sstephenson/rbenv-vars.git"
bottle :unneeded
depends_on "rbenv"
def install
prefix.install Dir["*"]
end
test do
assert_match "rbenv-vars.bash", shell_output("rbenv hooks exec")
end
end