diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-05-30 23:21:28 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-05-30 23:21:28 -0400 |
commit | 44a700ef780e641e49d6ea4f6ab2c8831babd96a (patch) | |
tree | f2e3fa5e1324a7247e28c0cec0c45bccd7aa6a15 /src/rebar_prv_escriptize.erl | |
parent | 42d5db5ea367c18c672111466628cb6e38ab464a (diff) | |
parent | b9b4e12600999cf2a2da4211508009ac7db96568 (diff) |
Merge pull request #488 from tsloughter/fix_escriptize_in_deps
keep all_deps list in state created for building deps
Diffstat (limited to 'src/rebar_prv_escriptize.erl')
-rw-r--r-- | src/rebar_prv_escriptize.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl index b58800a..df3a271 100644 --- a/src/rebar_prv_escriptize.erl +++ b/src/rebar_prv_escriptize.erl @@ -72,7 +72,7 @@ do(State) -> end; Name -> AllApps = rebar_state:all_deps(State)++rebar_state:project_apps(State), - AppInfo = rebar_app_utils:find(Name, AllApps), + {ok, AppInfo} = rebar_app_utils:find(ec_cnv:to_binary(Name), AllApps), escriptize(State, AppInfo) end. @@ -83,6 +83,7 @@ escriptize(State0, App) -> %% Get the output filename for the escript -- this may include dirs Filename = filename:join([rebar_dir:base_dir(State0), "bin", rebar_state:get(State0, escript_name, AppName)]), + ?DEBUG("Creating escript file ~s", [Filename]), ok = filelib:ensure_dir(Filename), State = rebar_state:escript_path(State0, Filename), |