Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (25 sloc) 1.06 KB
%% This is a sample rebar.conf file that shows examples of some of rebar's
%% options.
%% == Core ==
{require_otp_vsn, "R13B03|R13B04|R14|R15"}.
%% Additional library directories to add to the code path
{lib_dirs, ["deps"]}.
%% == Erlang Compiler ==
%% Erlang compiler options
{erl_first_files, ["jsonerl"]}.
{erl_opts, [debug_info, fail_on_warning, {i, "include"}]}.
%% == Release ==
{sub_dirs, ["rel"]}.
%% == Common Test ==
%% Option to pass extra parameters when launching Common Test
{ct_extra_params, "-boot start_sasl -pa ebin -config config/test"}.
%% == Dependencies ==
%% Where to put any downloaded dependencies. Default is "deps"
{deps_dir, "deps"}.
%% What dependencies we have, dependencies can be of 3 forms, an application
%% name as an atom, eg. mochiweb, a name and a version (from the .app file), or
%% an application name, a version and the SCM details on how to fetch it (SCM
%% type, location and revision). Rebar currently supports git, hg, bzr and svn.
{deps, [
{mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", {tag, "v2.3.2"}}}
]}.