20 lines
532 B
Ruby
20 lines
532 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/1.4.2.tar.gz"
|
|
sha256 "989596f66e813a69d0db3847900476cf6c0bed38cae73dac6eae1cd3f8610c54"
|
|
head "https://github.com/kerl/kerl.git"
|
|
|
|
bottle :unneeded
|
|
|
|
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
|