23 lines
678 B
Ruby
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.3.tar.gz"
|
|
sha256 "d3c7d29044f43ddf434d69ab9a0ead866ee01b24ae694df03e398bad777cd6c1"
|
|
license "MIT"
|
|
head "https://github.com/kerl/kerl.git", branch: "master"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, all: "b5f2eee1d208669cabab68f7964735da4e260a836fbcbfaa9eaaa462847c925e"
|
|
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
|