aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rebar.rb
blob: 3ad0da187a6a353bc38b4f8a91a898130803bec7 (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.2.0.zip'
  sha1 '48e3b6e4293129b990c4e35dc0be5f822c66e08d'

  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