awesomewm.d.tl/.busted

28 lines
654 B
Plaintext

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
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;",
loaders = { "teal" },
},
coverage = {
coverage = true,
},
}