blob: 6b955e0ff5f352c6bebacca5723bd11eee34c1d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
require "formula"
class Rebar < Formula
homepage "https://github.com/rebar/rebar"
url "https://github.com/rebar/rebar/archive/2.5.1.tar.gz"
sha1 "cf8d3e33c21f09b826a52a681f5b729559a3280c"
head "https://github.com/rebar/rebar.git", :branch => "master"
bottle do
cellar :any
sha1 "e2908a79a0819ae121f2ecad281474bae417bfe4" => :mavericks
sha1 "fe9177f8b1b5d165de672fb27e4906ae5f9a9f64" => :mountain_lion
sha1 "22db3c6c0b933ad003f9495fe2528fe5bb8f73fa" => :lion
end
depends_on "erlang"
def install
system "./bootstrap"
bin.install "rebar"
end
test do
system bin/"rebar", "--version"
end
end
|