summaryrefslogtreecommitdiff
path: root/ebin
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-25 23:19:09 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-12-25 23:19:09 -0700
commit2f64f0e6b27948b7ace968da049191bdc7292db2 (patch)
treea4b54674fd548ac380f662632e8d718c87e6a291 /ebin
parentef67a3da3e117a21d03afbc308ee186f28786b7e (diff)
Refactoring core logic in preparation for dependency mgmt; breaking out sub_dir determination into dedicated module
Diffstat (limited to 'ebin')
-rw-r--r--ebin/rebar.app37
1 files changed, 25 insertions, 12 deletions
diff --git a/ebin/rebar.app b/ebin/rebar.app
index a131746..9598e8e 100644
--- a/ebin/rebar.app
+++ b/ebin/rebar.app
@@ -3,9 +3,10 @@
{vsn, "2"},
{modules, [ rebar,
rebar_app_utils,
- rebar_config,
+ rebar_config,
rebar_core,
rebar_ct,
+ rebar_deps,
rebar_erlc_compiler,
rebar_escripter,
rebar_eunit,
@@ -19,6 +20,7 @@
rebar_port_compiler,
rebar_rel_utils,
rebar_reltool,
+ rebar_subdirs,
rebar_utils ]},
{registered, []},
{applications, [kernel,
@@ -28,18 +30,29 @@
%% Default log level
{log_level, error},
- %% Processing modules
+ %% any_dir processing modules
+ {any_dir_modules, [
+ rebar_subdirs,
+ rebar_deps
+ ]},
+
+ %% Dir specific processing modules
{modules, [
- {app_dir, [ rebar_protobuffs_compiler,
- rebar_erlc_compiler,
- rebar_lfe_compiler,
- rebar_erlydtl_compiler,
- rebar_port_compiler,
- rebar_otp_app,
- rebar_ct,
- rebar_eunit,
- rebar_escripter]},
- {rel_dir, [ rebar_reltool ]}
+ {app_dir, [
+ rebar_protobuffs_compiler,
+ rebar_erlc_compiler,
+ rebar_lfe_compiler,
+ rebar_erlydtl_compiler,
+ rebar_port_compiler,
+ rebar_otp_app,
+ rebar_ct,
+ rebar_eunit,
+ rebar_escripter
+ ]},
+
+ {rel_dir, [
+ rebar_reltool
+ ]}
]}
]}
]}.