Fix cpath in spooder file

This commit is contained in:
Talia 2025-07-23 12:42:50 +02:00
parent 3234b0c65a
commit f10135fc2f

View file

@ -8,7 +8,17 @@ local path = table.concat({
";", ";",
}, ";") }, ";")
local cpath = path:gsub(".lua", ".so"):gsub("/share/", "/lib/") local cpath = table.concat({
"lua_modules/lib/lua/5.4/?.so",
"lua_modules/lib/lua/5.4/?/init.so",
";",
}, ";")
task.setup {
description = "Sets up directories and dependencies";
"mkdir -p lua_modules .luarocks";
"luarocks install --only-deps *.rockspec";
}
task.clean { task.clean {
description = "Removes local rocks"; description = "Removes local rocks";