Skip to content

Instantly share code, notes, and snippets.

@hfeeki
Created December 12, 2013 03:10
Show Gist options
  • Save hfeeki/7922650 to your computer and use it in GitHub Desktop.
Save hfeeki/7922650 to your computer and use it in GitHub Desktop.
My rebar.config template
%%-*- mode: erlang -*-
{erl_opts,
[debug_info, fail_on_warning,
{src_dirs, ["src", "lib"]}, {i, "test"}
]
}.
{lib_dirs, ["deps"]}.
{require_otp_vsn, "R16*"}.
{eunit_opts, [verbose, {report, {eunit_surefire, [{dir, "."}]}}]}.
{cover_enabled, true}.
% [{pooly, [{config_file, "priv/pooly.conf"}]}].
{deps, [
{procket, ".*", {git, "git://github.com/msantos/procket.git", {branch, "master"}}},
{pkt, ".*", {git, "git://github.com/msantos/pkt.git", {branch, "master"}}},
%% {lager, ".*", {git, "git://github.com/basho/lager.git", {branch, "master"}}},
{folsom, ".*",
{git, "git://github.com/boundary/folsom.git", {branch, "master"}}},
{log4erl, ".*",
{git, "git://github.com/ahmednawras/log4erl.git", {branch, "master"}}},
{eredis, ".*",
{git, "git://github.com/wooga/eredis.git", {branch, "master"}}},
{protobuffs, ".*",
{git, "git://github.com/basho/erlang_protobuffs.git", {branch, "master"}}}
]}.
% which files to cleanup when rebar clean is executed.
{clean_files, ["ebin/*.beam"]}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment