2010-08-08 09:40:42 +02:00
|
|
|
local srcpath = config.source_dir
|
2012-06-05 16:36:33 +02:00
|
|
|
local respath = srcpath .. '/res'
|
2010-08-08 09:40:42 +02:00
|
|
|
local paths = {
|
2012-06-05 16:36:33 +02:00
|
|
|
'scripts/?.lua',
|
2013-12-27 01:54:02 +01:00
|
|
|
'core/scripts/?.lua',
|
2012-06-05 16:36:33 +02:00
|
|
|
'lunit/?.lua'
|
2010-08-08 09:40:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
for idx, path in pairs(paths) do
|
|
|
|
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
|
|
|
end
|
|
|
|
|
2014-04-24 15:24:35 +02:00
|
|
|
assert(read_xml())
|
2010-08-08 09:40:42 +02:00
|
|
|
require "init"
|