fix spelling errors
This commit is contained in:
parent
ba9240c086
commit
79e48cbf3d
@ -1,4 +1,4 @@
|
|||||||
optomise no
|
optimise no
|
||||||
test no
|
test no
|
||||||
log no
|
log no
|
||||||
opath kernel.lua
|
opath kernel.lua
|
||||||
|
10
build.lua
10
build.lua
@ -53,7 +53,7 @@ print("Loading modules")
|
|||||||
for k,v in ipairs(tm) do
|
for k,v in ipairs(tm) do
|
||||||
print(" - "..v.." - modules/"..v)
|
print(" - "..v.." - modules/"..v)
|
||||||
f=io.open("modules/"..v,"rb")
|
f=io.open("modules/"..v,"rb")
|
||||||
if cfg.optomise == "yes" then
|
if cfg.optimise == "yes" then
|
||||||
data = f:read("*a")
|
data = f:read("*a")
|
||||||
else
|
else
|
||||||
data = "--"..v.."\n"..f:read("*a")
|
data = "--"..v.."\n"..f:read("*a")
|
||||||
@ -71,9 +71,9 @@ for k,v in pairs(ts) do
|
|||||||
end
|
end
|
||||||
print()
|
print()
|
||||||
|
|
||||||
-- Optomise for space
|
-- Optimise for space
|
||||||
if cfg.optomise == "yes" then
|
if cfg.optimise == "yes" then
|
||||||
print("Optomising source")
|
print("Optimising source")
|
||||||
sl=tostring(ss:len())
|
sl=tostring(ss:len())
|
||||||
no=0
|
no=0
|
||||||
replacements={
|
replacements={
|
||||||
@ -104,7 +104,7 @@ for k,v in ipairs(replacements) do
|
|||||||
no=no+1
|
no=no+1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
print("\nBefore: "..sl.."\nAfter: "..tostring(ss:len()).."\n"..tostring(no).." optomisations made.\n")
|
print("\nBefore: "..sl.."\nAfter: "..tostring(ss:len()).."\n"..tostring(no).." optimisations made.\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Output
|
-- Output
|
||||||
|
Loading…
Reference in New Issue
Block a user