-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathrebar.config
48 lines (39 loc) · 1.04 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{erl_opts, [debug_info]}.
{deps, [argparse]}.
{shell, [
{apps, [erlperf]}
]}.
{dist_node, [
{sname, erlperf}
]}.
{escript_incl_apps, [argparse]}.
{escript_emu_args, "%%! +pc unicode -escript main erlperf_cli\n"}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{ct_opts, [
%% {ct_hooks, [cth_surefire]},
{keep_logs, 1}
]}.
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
escriptize,
"cp \"$REBAR_BUILD_DIR/bin/erlperf\" ./erlperf"},
{"win32",
escriptize,
"robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ erlperf* "
"/njs /njh /nfl /ndl & exit /b 0"} % silence things
]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{project_plugins, [rebar3_ex_doc]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"CLI.md", #{title => "Command Line"}},
{"CHANGELOG.md", #{title => "Changelog"}},
{"LICENSE.md", #{title => "License"}}
]},
{main, "README.md"},
{source_url, "https://github.com/max-au/erlperf"},
{source_ref, <<"master">>}
]}.