aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rebar.rb
blob: 1fdbc9ca9beb422ee7b68b68d06e99954977fc62 (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.1.0.zip'
  sha1 '4137e2b8fb4fc9fb7fb0c75dc9fc8c908f8393b1'

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

  depends_on 'erlang'

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

  test do
    system 'rebar', '--version'
  end
end