enhance config include

This commit is contained in:
Cloud Wu
2017-03-21 11:49:04 +08:00
parent 67b055009d
commit 3a4a673b43
3 changed files with 31 additions and 15 deletions

6
examples/config.path Normal file
View File

@@ -0,0 +1,6 @@
root = "./"
luaservice = root.."service/?.lua;"..root.."test/?.lua;"..root.."examples/?.lua"
lualoader = root .. "lualib/loader.lua"
lua_path = root.."lualib/?.lua;"..root.."lualib/?/init.lua"
lua_cpath = root .. "luaclib/?.so"
snax = root.."examples/?.lua;"..root.."test/?.lua"