awesomewm.d.tl/.busted

28 lines
654 B
Plaintext
Raw Normal View History

if os.getenv "LOCAL_LUA_DEBUGGER_VSCODE" == "1" then
require("lldebugger").start()
end
require("tl").loader()
local version <const> = _VERSION:match "%d+%.%d+"
local function lua_module_paths(module_base_path)
local paths = (module_base_path .. "/?.lua;")
.. (module_base_path .. "/?/init.lua;")
return paths
end
2023-04-24 00:14:32 +02:00
2022-10-30 15:11:14 +01:00
return {
_all = {
lpath = lua_module_paths("lua_modules/share/lua/" .. version)
.. lua_module_paths "types"
.. lua_module_paths "./src/awesomewm.d.tl",
cpath = "lua_modules/lib/lua/" .. version .. "/?.so;",
2023-04-24 00:14:32 +02:00
loaders = { "teal" },
2022-10-30 15:11:14 +01:00
},
coverage = {
coverage = true,
},
2022-10-30 15:11:14 +01:00
}