diff options
| author | Tristan Sloughter <t@crashfast.com> | 2018-11-23 16:28:44 -0700 | 
|---|---|---|
| committer | Tristan Sloughter <t@crashfast.com> | 2018-11-23 17:29:34 -0700 | 
| commit | a90f84a7a6823e9576ae22b8c4c573858513757f (patch) | |
| tree | c0082e1010ba5a695c72170578a00da10c21a82c /src | |
| parent | 86922f0636a1cfb73b845a152ba4021b59c92901 (diff) | |
fix to include beams built from src files in subdirs in modules list
Diffstat (limited to 'src')
| -rw-r--r-- | src/rebar_otp_app.erl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl index e14975f..f705657 100644 --- a/src/rebar_otp_app.erl +++ b/src/rebar_otp_app.erl @@ -166,7 +166,7 @@ ebin_modules(AppInfo, Dir) ->      Beams = lists:sort(rebar_utils:beams(filename:join(Dir, "ebin"))),      SrcDirs = rebar_dir:src_dirs(rebar_app_info:opts(AppInfo), ["src"]),      FindSourceRules = [{".beam", ".erl", -                        [{"ebin", SrcDir} || SrcDir <- SrcDirs]}], +                        [{"ebin", filename:join(SrcDir, "**")} || SrcDir <- SrcDirs]}],      Filtered = lists:filter(fun(Beam) ->                                  rebar_utils:find_source(filename:basename(Beam),                                                          filename:dirname(Beam), | 
