homebrew-core/Formula/rebar@3.rb
2017-08-21 22:53:09 -07:00

29 lines
954 B
Ruby

class RebarAT3 < Formula
desc "Erlang build tool"
homepage "https://github.com/erlang/rebar3"
url "https://github.com/erlang/rebar3/archive/3.4.3.tar.gz"
sha256 "6194b738fb8a4a1bef6619220ca8acf4ed826d2febfe39c62ebd0ed6fb7d05a8"
head "https://github.com/rebar/rebar3.git"
bottle do
cellar :any_skip_relocation
sha256 "f308031dda9b3e08f653bab39a5ba824a2e909e3193119a0b4303d7d45475210" => :sierra
sha256 "8ee6d81532dba979cdbd433144ee8d70e97d7d99913a05dce13a937c856b50ff" => :el_capitan
sha256 "1986a379754920128cd1de56037c41d428521a44184d5f7045c64de0279c2a43" => :yosemite
end
depends_on "erlang"
def install
system "./bootstrap"
bin.install "rebar3"
bash_completion.install "priv/shell-completion/bash/rebar3"
zsh_completion.install "priv/shell-completion/zsh/_rebar3"
fish_completion.install "priv/shell-completion/fish/rebar3.fish"
end
test do
system bin/"rebar3", "--version"
end
end