forked from github/server
21 lines
467 B
Lua
21 lines
467 B
Lua
local srcpath = config.source_dir
|
|
local respath = srcpath .. '/eressea/res'
|
|
local paths = {
|
|
'eressea/scripts/?.lua',
|
|
'server/scripts/?.lua',
|
|
'external/lunit/?.lua'
|
|
}
|
|
|
|
tests = {
|
|
srcpath .. '/server/scripts/tests/common.lua',
|
|
srcpath .. '/eressea/scripts/tests/e3a.lua',
|
|
}
|
|
|
|
for idx, path in pairs(paths) do
|
|
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
|
end
|
|
|
|
read_xml(respath..'/config-e3a.xml', respath..'/catalog-e3a.xml')
|
|
|
|
require "init"
|