mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 02:28:05 +11:00
made minify.lua not output statistics to stdout
This commit is contained in:
parent
c96c575021
commit
5e1d7c0606
@ -5,6 +5,7 @@ local infile = tArgs[1]
|
||||
local minfile = tArgs[1]..".min"
|
||||
local outfile = tArgs[2]
|
||||
local dbug = true
|
||||
if not outfile then dbug = false end
|
||||
|
||||
local function dprint(...)
|
||||
if dbug then
|
||||
@ -58,7 +59,7 @@ for k,v in ipairs(replacements) do
|
||||
end
|
||||
end
|
||||
|
||||
print("Delta: "..tostring(initl - ss:len()).." bytes")
|
||||
dprint("Delta: "..tostring(initl - ss:len()).." bytes")
|
||||
|
||||
if outfile then
|
||||
local outf = io.open(outfile,"wb")
|
||||
|
Loading…
Reference in New Issue
Block a user