aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rebar.rb
blob: b9eb128ff69fb9460d43732734e3c84757abf5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require "formula"

class Rebar < Formula
  homepage "https://github.com/rebar/rebar"
  url "https://github.com/rebar/rebar/archive/2.3.0.tar.gz"
  sha1 "4fc7eed4f3210c1547ba5ddfb5d3dc54a6422c37"

  head "https://github.com/rebar/rebar.git", :branch => "master"

  depends_on "erlang"

  def install
    system "./bootstrap"
    bin.install "rebar"
  end

  test do
    system bin/"rebar", "--version"
  end
end