-
Notifications
You must be signed in to change notification settings - Fork 3
/
rebar.config
53 lines (42 loc) · 1.57 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
49
50
51
52
53
{clean_files, ["test-ebin", "priv/bin/*", "doc"]}.
{deps, [
{niceopt, "0.0.8",
{git, "https://github.com/talentdeficit/niceopt.git", "0e1cb9b"}},
%% NB: we don't *care* about the version as it's only used to build the
%% documentation for parse_trans - we require explicitly so that users
%% behind proxies not configured for git:// or ssh:// can fetch it!
{edown, ".*",
{git, "https://github.com/esl/edown.git"}},
{parse_trans, "2.8",
{git, "https://github.com/hyperthunk/parse_trans.git", "9d19d78"}}
]}.
{post_hooks, [
{escriptize, "cp priv/bin/systest "
"\"priv/bin/systest-`git describe --abbrev=0 |"
" sed 's/v//g'`-SNAPSHOT\""}
]}.
{erl_opts, [warnings_as_errors]}.
{plugins, [build_support]}.
{app_vars_file, "app.vars"}.
{escript_incl_apps, [niceopt]}.
{escript_incl_extra, [{"include/*", "."},
{"ebin/*", "."},
{"priv/banner.txt", "."}]}.
{escript_name, "priv/bin/systest"}.
{edoc_opts, [{dir, "doc"},
{doclet, edown_doclet},
{top_level_readme, {"doc/TOC.md",
"http://github.com/nebularis/systest"}}]}.
{wiki_repo, "../systest.wiki"}.
{xref_checks, []}.
{xref_queries,
[{"((XC - UC) || (XU - X - B))",
%% TODO:
[{{systest_rebar_plugin,is_base_dir,1},{rebar_config,get_global,2}}]},
{"(L - LU)", []},
%% TODO: restore this...
% {"(LU * (X - XU))",
% [{systest,procs,1},
% {systest,start,2},
% {systest,write_pid_file,1}]},
{"(DF * (XU + LU))", []}]}.