mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 19:19:53 +00:00
Make sure to create dir structure for output bams
This commit is contained in:
parent
42647f4c22
commit
51f6906da9
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ internal_erl_compile(Source, Config, Outdir) ->
|
||||||
|
|
||||||
%% Construct the target filename
|
%% Construct the target filename
|
||||||
Target = filename:join([Outdir | string:tokens(Module, ".")]) ++ ".beam",
|
Target = filename:join([Outdir | string:tokens(Module, ".")]) ++ ".beam",
|
||||||
|
ok = filelib:ensure_dir(Target),
|
||||||
|
|
||||||
%% If the file needs compilation, based on last mod date of includes or
|
%% If the file needs compilation, based on last mod date of includes or
|
||||||
%% the target,
|
%% the target,
|
||||||
|
|
Loading…
Reference in a new issue