Browse Source

Make sure to create dir structure for output bams

pull/3/head
Dave Smith 15 years ago
parent
commit
51f6906da9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rebar_erlc_compiler.erl

+ 1
- 0
src/rebar_erlc_compiler.erl View File

@ -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…
Cancel
Save