1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-05-18 13:23:23 -07:00
mm/Lua/lib/setup.lua

13 lines
301 B
Lua

if _require then return end
_require = require
package.path = package.path..';./lib/?.lua'
package.path = package.path..';./lib/?/init.lua'
function depend(path)
if package and package.loaded and package.loaded[path] then
package.loaded[path] = nil
end
return _require(path)
end