From f10135fc2fa51946ebffd6d36a3280bbe1301aa9 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 23 Jul 2025 12:42:50 +0200 Subject: [PATCH] Fix cpath in spooder file --- tasks.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tasks.lua b/tasks.lua index 3b5cbd0..ce5b0cc 100644 --- a/tasks.lua +++ b/tasks.lua @@ -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 { description = "Removes local rocks";