blob: 65076d81a08727cf873fad09d9695e089e77e668 (
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.tar.gz'
sha1 '8b246586383d8809c7681f3e56bfc8d8c3b3757e'
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
|