package manager wip

This commit is contained in:
kepler155c@gmail.com
2019-11-09 21:17:07 -07:00
parent 3255a5a670
commit b1a24235ea
4 changed files with 38 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ local function recurse(path)
end
elseif path:match('%.lua$') and not fs.isReadOnly(path) then
local sz = fs.getSize(path)
shell.run('packages/minify/minify.lua minify ' .. path)
shell.run('minify.lua minify ' .. path)
print(string.format('%s : %.2f%%', path, (sz - fs.getSize(path)) / sz * 100))
end
end