From 55894d93664e4a1e2e1d06920d862b8d85bff5cf Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 31 Aug 2023 13:23:51 +0200 Subject: [PATCH] Add clean task --- tasks.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks.lua b/tasks.lua index 5f35b4f..d8f8507 100644 --- a/tasks.lua +++ b/tasks.lua @@ -10,6 +10,11 @@ local path = table.concat({ local cpath = path:gsub(".lua", ".so"):gsub("/share/", "/lib/") +task.clean { + description = "Removes local rocks"; + 'rm -r lua_modules'; +} + task.build { description = "Builds the page"; 'mkdir -p .luarocks lua_modules';