-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrebar.config
More file actions
125 lines (114 loc) · 2.9 KB
/
rebar.config
File metadata and controls
125 lines (114 loc) · 2.9 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
{erl_opts, [
debug_info,
warnings_as_errors,
warn_missing_spec,
{feature, maybe_expr, enable}
]}.
{src_dirs, [{"src", [{recursive, true}]}]}.
{shell, [{config, "./config/dev_sys.config.src"}]}.
{deps, [
{asobi, {git, "https://github.com/widgrensit/asobi.git", {branch, "main"}}},
{luerl, "~> 1.5"}
]}.
{relx, [
{release, {asobi_lua, git}, [
asobi_lua,
asobi,
sasl
]},
{mode, dev},
{sys_config_src, "./config/dev_sys.config.src"},
{vm_args_src, "./config/vm.args.src"}
]}.
{profiles, [
{prod, [
{relx, [
{mode, prod},
{sys_config_src, "./config/prod_sys.config.src"}
]}
]},
{test, [
{erl_opts, [nowarn_export_all, nowarn_missing_spec, warnings_as_errors, {i, "test"}]},
{deps, [
{nova_test, {git, "https://github.com/novaframework/nova_test.git", {branch, "main"}}},
{meck, "~> 0.9"}
]},
{ct_opts, [{sys_config, "./config/dev_sys.config.src"}]},
{extra_src_dirs, [{"test", [{recursive, true}]}]},
{xref_extra_paths, ["test"]}
]}
]}.
{dialyzer, [
{plt_apps, all_deps},
{plt_extra_apps, [kura, inets]},
{warnings, [unknown, unmatched_returns]}
]}.
{project_plugins, [
{rebar3_audit, {git, "https://github.com/Taure/rebar3_audit.git", {branch, "main"}}},
{rebar3_sbom,
{git, "https://github.com/Taure/rebar3_sbom.git", {branch, "feat/include-otp-components"}}},
rebar3_ex_doc,
{erlfmt, "~>1.7"}
]}.
{hex, [
{doc, #{provider => ex_doc}},
{include_files, [
<<"src">>,
<<"include">>,
<<"rebar.config">>,
<<"rebar.lock">>,
<<"README.md">>,
<<"guides">>
]}
]}.
{ex_doc, [
{source_url, <<"https://github.com/widgrensit/asobi_lua">>},
{extras, [
<<"README.md">>,
<<"guides/lua-scripting.md">>,
<<"guides/lua-bots.md">>
]},
{groups_for_extras, [
{<<"Guides">>, [
<<"guides/lua-scripting.md">>,
<<"guides/lua-bots.md">>
]}
]},
{groups_for_modules, [
{<<"Lua Bridge">>, [
asobi_lua_loader,
asobi_lua_match,
asobi_lua_world
]},
{<<"Bots">>, [
asobi_bot,
asobi_bot_spawner,
asobi_bot_sup
]},
{<<"Configuration">>, [
asobi_lua_config,
asobi_lua_game_modes
]},
{<<"Application">>, [
asobi_lua_app,
asobi_lua_sup
]}
]}
]}.
{erlfmt, [
write,
{files, [
"rebar.config",
"src/*.app.src",
"src/**/{*.erl, *.hrl}",
"test/**/{*.erl, *.hrl}"
]}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.