Stage 10 final
This commit is contained in:
16
rebar.config
16
rebar.config
@@ -1,4 +1,7 @@
|
||||
{erl_opts, [debug_info, {i, "include"}]}.
|
||||
|
||||
{src_dirs, ["src", "test/api"]}.
|
||||
|
||||
{deps, [
|
||||
{cowboy, "2.10.0"},
|
||||
{jsx, "3.1.0"},
|
||||
@@ -22,10 +25,23 @@
|
||||
{profiles, [
|
||||
{test, [
|
||||
{erl_opts, [debug_info, {i, "include"}, {d, 'TEST'}]},
|
||||
{src_dirs, ["src", "test/unit"]},
|
||||
{deps, [
|
||||
{meck, "0.9.2"}
|
||||
]}
|
||||
]}
|
||||
]}.
|
||||
|
||||
{ct_opts, [
|
||||
{src_dirs, ["src", "test/api"]},
|
||||
{sys_config, ["config/sys.config"]}, % Load app config
|
||||
{logdir, "build"}, % Where to put HTML reports
|
||||
{verbose, true} % Print more info to console
|
||||
]}.
|
||||
|
||||
{ct_compile_opts, [
|
||||
{i, "include"}, % Include directory
|
||||
{d, 'DEBUG'} % Define macros
|
||||
]}.
|
||||
|
||||
{eunit_opts, [verbose]}.
|
||||
Reference in New Issue
Block a user