homebrew-core/Formula/kerl.rb

23 lines
678 B
Ruby

class Kerl < Formula
desc "Easy building and installing of Erlang/OTP instances"
homepage "https://github.com/kerl/kerl"
url "https://github.com/kerl/kerl/archive/2.2.4.tar.gz"
sha256 "89085ab2015b00fb7803053a66dc10ad7bcf66ce6312f345df96ec4849229ef8"
license "MIT"
head "https://github.com/kerl/kerl.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, all: "2a416bf927859bc0b0c68ad8c951200320b0face7e70288a9363b54ae2ebfe7b"
end
def install
bin.install "kerl"
bash_completion.install "bash_completion/kerl"
zsh_completion.install "zsh_completion/_kerl"
end
test do
system "#{bin}/kerl", "list", "releases"
end
end