dep can now search for modules as long as it's provided with a prefix
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user