mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
ext_mod: Compile *.ex files also in source subfolders
This commit is contained in:
parent
4daeb41f0e
commit
0121adec03
@ -603,7 +603,7 @@ compile(LibDir) ->
|
||||
Er = [compile_erlang_file(Bin, File, Options)
|
||||
|| File <- filelib:wildcard(Src++"/*.erl")],
|
||||
Ex = [compile_elixir_file(Bin, File)
|
||||
|| File <- filelib:wildcard(Lib ++ "/*.ex")],
|
||||
|| File <- filelib:wildcard(Lib ++ "/**/*.ex")],
|
||||
compile_result(Er++Ex).
|
||||
|
||||
compile_c_files(LibDir) ->
|
||||
|
Loading…
Reference in New Issue
Block a user