This commit is contained in:
Robert Jelic
2025-02-09 15:21:57 +01:00
parent daca0d974d
commit 9824538688
2 changed files with 8 additions and 1 deletions

View File

@@ -36,8 +36,14 @@ jobs:
local content = f:read("*all")
f:close()
local minified = minify(content)
local success, minified = minify(content)
if not success then
print("Minification failed")
print(minified)
return
end
local out = io.open("release/main.min.lua", "w")
out:write(minified)
out:close()

View File

@@ -112,5 +112,6 @@ function basalt.run(isActive)
end
end
end
basalt.autoUpdate = basalt.run
return basalt