rebar@3: import from homebrew/versions

Closes #10815.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Rui Coelho 2017-03-09 17:06:36 +00:00 committed by Mike McQuaid
parent 1d3a897be8
commit 91cd9f5dd4
2 changed files with 23 additions and 0 deletions

22
Formula/rebar@3.rb Normal file
View File

@ -0,0 +1,22 @@
class RebarAT3 < Formula
desc "Erlang build tool"
homepage "https://github.com/erlang/rebar3"
url "https://github.com/erlang/rebar3/archive/3.3.5.tar.gz"
sha256 "b17661bedaf2060179e0b7b2c4a64350b7a303d809397325ee4be38cc1dc9058"
head "https://github.com/rebar/rebar3.git"
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

View File

@ -85,6 +85,7 @@
"protobuf260": "protobuf@2.6",
"qt55": "qt@5.5",
"racket": "minimal-racket",
"rebar3": "rebar@3",
"scala210": "scala@2.10",
"scala211": "scala@2.11",
"screenbrightness": "brightness",