siffiejoe/lua-amalg

Supporting modules loaded dynamically via pcall

ayoubfaouzi opened this issue · 1 comments

Hello @siffiejoe

Thanks for this great tool !

I have a project where I dynamically load lua files. So basically, we iterate recursively over a directory of lua modules and execute something like: local success, mod = pcall(require, submodule_name)

Do you think it makes sense for lua-amalg to embed those modules ?

Cheers.

I got it to work, never mind !

Thanks a lot.