Fix cpath in spooder file
This commit is contained in:
parent
3234b0c65a
commit
f10135fc2f
1 changed files with 11 additions and 1 deletions
12
tasks.lua
12
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";
|
||||
|
|
Loading…
Reference in a new issue