Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Building rebar

Alexander Zhuravlev edited this page Jun 22, 2014 · 2 revisions

Dependencies

To build rebar you will need a working installation of Erlang R13B03 (or later).

Should you want to clone the rebar repository, you will also need git.

Downloading

Clone the git repository:

$ git clone git://github.com/rebar/rebar.git

Building

$ cd rebar/
$ ./bootstrap 
Recompile: src/getopt
...
Recompile: src/rebar_utils
==> rebar (compile)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.

As the console listing indicates, you now have a rebar escript which you can place into your project's directory or to a directory from the system's executable files search path.