diff options
| author | Cliff Rowley | 2013-08-02 15:49:21 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-02 10:46:28 -0700 |
| commit | 3b54c569705ef662368338afb0070e6cfef37e79 (patch) | |
| tree | 5c1cd29f6db6845e2fe1e277a9637a5b838d4668 /Library/Formula | |
| parent | 70f671395a72fb82c95cc40ae6f6fdea16c0e213 (diff) | |
| download | homebrew-3b54c569705ef662368338afb0070e6cfef37e79.tar.bz2 | |
rebar 2.0.0
Closes #21613.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rebar.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/rebar.rb b/Library/Formula/rebar.rb new file mode 100644 index 000000000..3377678d7 --- /dev/null +++ b/Library/Formula/rebar.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Rebar < Formula + homepage 'https://github.com/rebar/rebar' + url 'https://github.com/rebar/rebar/archive/2.0.0.zip' + sha1 '4775839097324107c730e094e42ce87b456b655c' + + depends_on 'erlang' + + def install + system './bootstrap' + bin.install 'rebar' + end + + test do + system 'rebar', '--version' + end +end |
