diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-06-08 23:42:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 23:42:15 -0400 |
commit | 7eb5d14d5370e49be7498ed65046673bc73d0a00 (patch) | |
tree | 20fe3bf61bb2376e12adf1ccbf890de1cf8753af /src/rebar_prv_bare_compile.erl | |
parent | ca36f30fe302c8a23f2e46ec077304cbb208999c (diff) | |
parent | a74dc021cc9dd89b7448d894e262ebe5a82285cd (diff) |
Merge pull request #1810 from tsloughter/bare-ns
run compile provider in default namespace from bare
Diffstat (limited to 'src/rebar_prv_bare_compile.erl')
-rw-r--r-- | src/rebar_prv_bare_compile.erl | 4 |
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), |