Open rdw-software opened 1 year ago
From experience, this is opening a whole can of worms (see luvit/evo-luvi). Not sure if it's worth it, will have to consider trade-offs.
I definitely would prefer using the existing package managers (or at least repositories) and let this be a dumb libgit clone/curl fetch.
For packages that require native code, there are effectively three issues:
I think the simplest solution to these problems is:
ninjabuild.lua
evenIf curl should be used (needs prototyping), then this requires #369 before it can be tackled.
Goals:
./evo/<org>/<package>
)import
(similar torequire
, but with extra features - TBD)evo build
Note: This doesn't involve any actual package management or dependency resolution. No reinventing the wheel on that front!
Why? Allows moving some parts out of the runtime (see #280 ), while still allowing apps to use, say, WebViews, with ease.
May require (pun intended) splitting into multiple issues as there are some complexities when it comes to
import
and zip apps.For some additional constraints and design issues that need to be considered, see https://github.com/evo-lua/internal/issues/1