forked from github/server
d9457a2488
At this time, only E2 is working. Fixing a lot of old code (monster is no longer id 0). package.paths configured from eressea.ini install directory configured from eressea.ini moving building_action into a seaprate module (it's deprecated)
15 lines
345 B
Lua
15 lines
345 B
Lua
-- new tests 2014-06-11
|
|
|
|
path = 'scripts'
|
|
if config.source_dir ~= nil then
|
|
path = config.source_dir .. '\\' .. path
|
|
end
|
|
package.path = package.path .. ';' .. path .. '\\?.lua;' .. path .. '\\?\\init.lua'
|
|
|
|
-- require 'eressea.tests'
|
|
if config.rules ~= nil then
|
|
require ('eressea.' .. config.rules .. '.tests')
|
|
end
|
|
require 'lunit'
|
|
|
|
lunit.main()
|