aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rebar.rb
blob: 66eb63af6dfa85b3cd2bfc88718a64667a168d93 (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.0.0.zip'
  sha1 '4775839097324107c730e094e42ce87b456b655c'

  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