-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.config
36 lines (29 loc) · 1001 Bytes
/
base.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
%% default compile opts
{erl_opts, [warnings_as_errors]}.
%% plugins
{plugins, [rebar_plugin_manager,
rebar_skip_deps,
rebar_phase_plugin]}.
%% NB: this setting is required in order to get the plugins to work properly
{plugin_dir, "deps/rebar_plugin_manager/src"}.
%% things we *do not* want to run in deps
{skip_dep_cmds,
[clean, create,
'create-app', 'create-node', 'list-templates',
retest, test, eunit, qc, quickcheck, ct,
'check-specs', 'check-all',
'alien-commands', 'alien-clean']}.
%% define the build lifecycle
{phases, [
{build, [], ['get-deps', compile]},
{test, build, [eunit, quickcheck]},
{'integration-test', test, [ct]},
{package, test, [dist]}
]}.
%% dependencies
{deps, [
{rebar_skip_deps, ".*",
{git, "git://github.com/hyperthunk/rebar_skip_deps.git"}},
{rebar_phase_plugin, ".*",
{git, "git://github.com/hyperthunk/rebar_phase_plugin.git"}}
]}.