summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2018-06-08 20:57:48 -0600
committerTristan Sloughter <t@crashfast.com>2018-06-08 20:57:48 -0600
commita74dc021cc9dd89b7448d894e262ebe5a82285cd (patch)
tree20fe3bf61bb2376e12adf1ccbf890de1cf8753af /src
parentca36f30fe302c8a23f2e46ec077304cbb208999c (diff)
run compile provider in default namespace from bare
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_bare_compile.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar_prv_bare_compile.erl b/src/rebar_prv_bare_compile.erl
index c29a711..5d3e977 100644
--- a/src/rebar_prv_bare_compile.erl
+++ b/src/rebar_prv_bare_compile.erl
@@ -46,7 +46,9 @@ do(State) ->
[AppInfo] = rebar_state:project_apps(State),
AppInfo1 = rebar_app_info:out_dir(AppInfo, rebar_dir:get_cwd()),
- rebar_prv_compile:compile(State, AppInfo1),
+
+ %% run compile in the default namespace
+ rebar_prv_compile:compile(rebar_state:namespace(State, default), AppInfo1),
rebar_utils:cleanup_code_path(OrigPath),