diff options
author | Tommy Carpenter <tommy@research.att.com> | 2017-08-22 18:07:40 -0400 |
---|---|---|
committer | Tommy Carpenter <tommy@research.att.com> | 2017-08-22 18:08:22 -0400 |
commit | 647addf5d6c78b2b8c941cc9cd8c57a3eb9f30b4 (patch) | |
tree | 4de88ed0c8b175b271b5d7da6076ebf3da40e466 /rebar.config | |
parent | c7b6dc90e4cde0ac8524539fc02ab2943c88048a (diff) |
[DCAEGEN2-42] Initial commit of broker
Change-Id: I1c553c82d5b39a4c134c44e2320ac0e44785e0ef
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config new file mode 100644 index 0000000..b62c0da --- /dev/null +++ b/rebar.config @@ -0,0 +1,74 @@ +{relx, [ + {release, + {cdapbroker,"4.0.3"}, + [cdapbroker] + }, + %{extend_start_script,true}, + % + %for the following two fancyiness see https://www.rebar3.org/docs/releases + %Supply our own vm.args + {vm_args, "config/vm.args"}, + %supply our own application configuration + {sys_config, "config/sys.config"} + ]}. + +{deps, [ + {jiffy, ".*", {git, "git://github.com/davisp/jiffy.git", {branch, "master"}}}, + %{leptus, ".*", {git, "git://github.com/s1n4/leptus.git", {branch, "master"}}}, + {leptus, ".*", {git, "git://github.com/tommyjcarpenter/leptus.git", {branch, "version"}}}, + {lager, ".*", {git, "git://github.com/basho/lager.git", {branch, "master"}}}, + %generate RFC compliant UUIDs + {uuid, ".*", {git, "https://github.com/avtobiff/erlang-uuid.git", {branch, "master"}}}, + %generate ISO8601 timestamps + {iso8601, {git, "https://github.com/erlsci/iso8601.git", {tag, "1.2.3"}}} + ]}. + +%%% Require OTP 19.2 at a bare minimum +{minimum_otp_vsn, "19"}. + +%% Plugins +{shell, [ + {apps, [lager, sync, gen_rpc]} +]}. + +% Erlang options +{erl_opts, + [ + %%lager first + %%support lager introspecting module/line/function + {parse_transform, lager_transform}, + %%support EELF sinks + {lager_extra_sinks, [audit,metrics,error]}, + + %other opts + %warnings_as_errors, + debug_info, + {warn_format, 1}, + bin_opt_info, + inline_list_funcs, + report_warnings, + warn_export_vars, + warn_export_all, + warn_shadow_vars, + warn_obsolete_guard, + warn_unused_import, + warn_deprecated_function, + warn_unused_vars, + warn_unused_function, + warn_bif_clash, + warn_unused_record, + warn_exported_vars + ] +}. + +%% Code coverage +{cover_enabled, true}. +{cover_export_enabled, true}. +{cover_opts, [verbose]}. + +%% EUnit options +{eunit_compile_opts, [debug_info, export_all]}. +{eunit_opts, [verbose, + no_tty, + {report, {eunit_progress, [colored, profile]}} +]}. |