Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.
Find a file
Tomas Abrahamsson 0caf047fc3 Introduce pluggable protocol buffer compilers
Make it possible for plug in alternative protocol buffer compilers.
The compilers are picked up based on if they export all of the
functions key/0, proto_compile/3, proto_clean/3 and proto_info/2.
The set of compiler modules to choose from, is fetched from the rebar
application environment, from the app_dir modules.

A new config option, {proto_compiler,Compiler}, specifies which of
the available protocol buffer compilers to use. The 'protobuffs'
compiler is now one such compiler (the only one), and it is also the
default, for backwards compatibility.
2014-10-29 23:45:35 +01:00
ebin Introduce pluggable protocol buffer compilers 2014-10-29 23:45:35 +01:00
include Revert "Merge pull request #281 from tuncer/rebar-h-internal" 2014-06-23 13:48:49 -04:00
inttest Minor follow-up fixes for #293 2014-09-11 19:06:04 +02:00
priv Implement eval command via nodetool 2014-10-21 14:22:37 +02:00
src Introduce pluggable protocol buffer compilers 2014-10-29 23:45:35 +01:00
test Implement eval command via nodetool 2014-10-21 14:22:37 +02:00
.gitignore Fix #267 (code path regression) 2014-04-23 22:17:23 +02:00
.travis.yml Add erlang 17.0 to travis 2014-06-08 14:34:16 +04:00
bootstrap Fix OS X resource fork handling (Reported-by: Richard O'Keefe) 2014-07-25 20:52:30 +02:00
bootstrap.bat add bat scripts for bootstrap and rebat (windows doesn't understand shebang), make bootstrap work on windows 2010-08-02 20:35:26 +03:00
CONTRIBUTING.md Fix minor typo in CONTRIBUTING.md 2014-09-06 16:11:08 +02:00
dialyzer_reference Update dialyzer_reference 2014-07-25 20:41:23 +02:00
LICENSE Added HACKING, LICENSE and THANKS files 2009-12-31 20:31:22 +01:00
Makefile Fix 'make build_plt' 2014-09-03 20:19:18 +02:00
NOTES.org Initial commit 2009-11-25 15:23:42 -07:00
README.md Extract contributing guide into CONTRIBUTING.md 2013-09-20 20:54:23 +02:00
rebar.config Fix typo s/of/on/ 2014-07-13 15:12:09 +02:00
rebar.config.sample Introduce pluggable protocol buffer compilers 2014-10-29 23:45:35 +01:00
rebar.config.script Clean up rebar.config.script 2013-12-17 14:27:24 +01:00
RELEASE-NOTES.md Bump to 2.5.1 2014-07-30 17:37:49 +00:00
THANKS Implement eval command via nodetool 2014-10-21 14:22:37 +02:00

rebar

rebar is an Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.

Build Status

rebar is a self-contained Erlang script, so it's easy to distribute or even embed directly in a project. Where possible, rebar uses standard Erlang/OTP conventions for project structures, thus minimizing the amount of build configuration work. rebar also provides dependency management, enabling application writers to easily re-use common libraries from a variety of locations (git, hg, etc).

Building

Information on building and installing Erlang/OTP can be found here (more info).

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 require git.

Downloading

You can download a pre-built binary version of rebar from:

https://github.com/rebar/rebar/wiki/rebar

Building rebar

$ git clone git://github.com/rebar/rebar.git
$ 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.

Contributing to rebar

Please refer to CONTRIBUTING.

Community and Resources

In case of problems that cannot be solved through documentation or examples, you may want to try to contact members of the community for help. The community is also where you want to go for questions about how to extend rebar, fill in bug reports, and so on.

The main place to go for questions is the rebar mailing list. If you need quick feedback, you can try the #rebar channel on irc.freenode.net. Be sure to check the wiki first, just to be sure you're not asking about things with well known answers.

For bug reports, roadmaps, and issues, visit the github issues page.

General rebar community resources and links: