This commit is contained in:
Robert Jelic
2025-02-09 14:55:36 +01:00
parent 000af720ae
commit 2e2f52a795
2 changed files with 4 additions and 3 deletions

View File

@@ -48,11 +48,11 @@ jobs:
fi
echo "Minifying project.lua"
luamin --help
luamin -f release/project.lua
minified_content=$(luamin -c "$(cat release/project.lua)")
echo "$minified_content" > release/project.min.lua
echo "Verifying project.min.lua"
if [ -f release.project.min.lua ]; then
if [ -f release/project.min.lua ]; then
echo "project.min.lua exists"
else
echo "Error: release/project.min.lua not found"

View File

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