You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searching for a while a better way to manage modules in lua (because the standard package/require does not manage version).
Your pkg module is really interesting.
I planned to follow the same API/format for my own implementation.
I'm only focused on information and managment, not on installation or update.
I don't found Specs about the format of the pkg.available() returned table.
I should discover it by seeking in the source code, but it will not tell me if field are Mandatory or Optional...
I see we have pkg.available to read and check ...
There is no way to add module information directly, I supposed it was done internaly by pkg.add
in my case, I planned to add a pkg.provide(...) to add new module information.
You are interested by writing Spec together ?
Best Regards
The text was updated successfully, but these errors were encountered:
Hello,
I searching for a while a better way to manage modules in lua (because the standard package/require does not manage version).
Your
pkg
module is really interesting.I planned to follow the same API/format for my own implementation.
I'm only focused on information and managment, not on installation or update.
I don't found Specs about the format of the
pkg.available()
returned table.I should discover it by seeking in the source code, but it will not tell me if field are Mandatory or Optional...
I see we have
pkg.available
to read and check ...There is no way to add module information directly, I supposed it was done internaly by
pkg.add
in my case, I planned to add a
pkg.provide(...)
to add new module information.You are interested by writing Spec together ?
Best Regards
The text was updated successfully, but these errors were encountered: