dep can now search for modules as long as it's provided with a prefix

This commit is contained in:
2025-06-28 15:21:01 -04:00
parent 07df092fc6
commit ac14e3d5bb
2 changed files with 57 additions and 10 deletions

View File

@ -59,6 +59,7 @@ end
-- basically the main function of our program
---@param opts speclist
return function(opts)
M.config_path = debug.getinfo(2, "S").source:sub(2)
logger.pipe = logger:setup()
bench:setup()
@ -90,7 +91,7 @@ return function(opts)
-- setup all packages and modules
if opts.modules then
modules:setup(opts)
modules:setup(opts, nil, M.config_path)
end
packager.register_speclist(opts)