homebrew-core/Formula/rbenv-aliases.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
418 B
Ruby

class RbenvAliases < Formula
homepage "https://github.com/tpope/rbenv-aliases"
url "https://github.com/tpope/rbenv-aliases/archive/v1.0.1.tar.gz"
sha1 "7fcfe5ea3011c5f9e00ad41d85bebc2d19869b61"
head "https://github.com/tpope/rbenv-aliases.git"
depends_on "rbenv"
def install
prefix.install Dir["*"]
end
test do
assert shell_output("rbenv hooks install").include? "autoalias.bash"
end
end