24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02:00

ext_mod: Compile *.ex files also in source subfolders

This commit is contained in:
Badlop 2023-12-14 14:01:17 +01:00
parent 4daeb41f0e
commit 0121adec03

View File

@ -603,7 +603,7 @@ compile(LibDir) ->
Er = [compile_erlang_file(Bin, File, Options) Er = [compile_erlang_file(Bin, File, Options)
|| File <- filelib:wildcard(Src++"/*.erl")], || File <- filelib:wildcard(Src++"/*.erl")],
Ex = [compile_elixir_file(Bin, File) Ex = [compile_elixir_file(Bin, File)
|| File <- filelib:wildcard(Lib ++ "/*.ex")], || File <- filelib:wildcard(Lib ++ "/**/*.ex")],
compile_result(Er++Ex). compile_result(Er++Ex).
compile_c_files(LibDir) -> compile_c_files(LibDir) ->