aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rebar.rb
blob: 5542e2083994c743d9feb56e1bc74bc8307dae88 (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.5.0.tar.gz"
  sha1 "2c52d3970f0ff10d5c0207ed1e05efbac1bb5a94"

  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