homebrew-core/Formula/asdf.rb
Donovan Hernandez 9a70ede8a8 asdf 0.7.1
Closes #38589.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-04-02 11:54:11 +02:00

33 lines
972 B
Ruby

class Asdf < Formula
desc "Extendable version manager with support for Ruby, Node.js, Erlang & more"
homepage "https://github.com/asdf-vm"
url "https://github.com/asdf-vm/asdf/archive/v0.7.1.tar.gz"
sha256 "8aa4d72d18d0ac5cf0dd2a1937bf6947f50c58caa59c63e873e2a4eac4072b9f"
head "https://github.com/asdf-vm/asdf.git"
bottle :unneeded
depends_on "autoconf"
depends_on "automake"
depends_on "coreutils"
depends_on "libtool"
depends_on "libyaml"
depends_on "openssl"
depends_on "readline"
depends_on "unixodbc"
conflicts_with "homeshick",
:because => "asdf and homeshick both install files in lib/commands"
def install
bash_completion.install "completions/asdf.bash"
fish_completion.install "completions/asdf.fish"
libexec.install "bin/private"
prefix.install Dir["*"]
end
test do
output = shell_output("#{bin}/asdf plugin-list 2>&1", 1)
assert_match "Oohes nooes ~! No plugins installed", output
end
end