homebrew-core/Formula/rebar.rb
Mike Naberezny da9efc928e rebar: use full path of executable
Closes Homebrew/homebrew#29467.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-21 14:17:46 -07:00

20 lines
411 B
Ruby

require "formula"
class Rebar < Formula
homepage "https://github.com/rebar/rebar"
url "https://github.com/rebar/rebar/archive/2.3.0.tar.gz"
sha1 "4fc7eed4f3210c1547ba5ddfb5d3dc54a6422c37"
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