Add clean task

This commit is contained in:
Talia 2023-08-31 13:23:51 +02:00
parent e33a1e7f05
commit 55894d9366
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -10,6 +10,11 @@ local path = table.concat({
local cpath = path:gsub(".lua", ".so"):gsub("/share/", "/lib/") local cpath = path:gsub(".lua", ".so"):gsub("/share/", "/lib/")
task.clean {
description = "Removes local rocks";
'rm -r lua_modules';
}
task.build { task.build {
description = "Builds the page"; description = "Builds the page";
'mkdir -p .luarocks lua_modules'; 'mkdir -p .luarocks lua_modules';