forked from github/server
14 lines
281 B
Lua
14 lines
281 B
Lua
local srcpath = config.source_dir
|
|
local respath = srcpath .. '/res'
|
|
local paths = {
|
|
'scripts/?.lua',
|
|
'core/scripts/?.lua',
|
|
'lunit/?.lua'
|
|
}
|
|
|
|
for idx, path in pairs(paths) do
|
|
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
|
end
|
|
|
|
assert(read_xml())
|
|
require "init"
|