homebrew-core/Formula/rbenv-aliases.rb

24 lines
660 B
Ruby

class RbenvAliases < Formula
desc "Make aliases for Ruby versions"
homepage "https://github.com/tpope/rbenv-aliases"
url "https://github.com/tpope/rbenv-aliases/archive/v1.1.0.tar.gz"
sha256 "12e89bc4499e85d8babac2b02bc8b66ceb0aa3f8047b26728a3eca8a6030273d"
license "MIT"
revision 1
head "https://github.com/tpope/rbenv-aliases.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, all: "6f7cde3483899529f991977d389c5e6a41116ea4628377d97535fccddb306d9b"
end
depends_on "rbenv"
def install
prefix.install Dir["*"]
end
test do
assert_match "autoalias.bash", shell_output("rbenv hooks install")
end
end