Add clean task
This commit is contained in:
parent
e33a1e7f05
commit
55894d9366
1 changed files with 5 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue