blob: 5713cb1f10547e1a1109d09c1333479e02b4c3bb (
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"
  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
 |