summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-09-04 18:13:36 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-09-04 18:13:36 -0500
commit851451b41aa8edc20077b4d2cca25fd00f51fa68 (patch)
treeeca66a22cb24e38bedc0bcdc02fdf73914492e5a
parent2b5e5d9b0b35ec88b7dca9b183361dc18bc7d3a6 (diff)
downloadluafilesystem-packaging-851451b41aa8edc20077b4d2cca25fd00f51fa68.tar.gz
luafilesystem-packaging-851451b41aa8edc20077b4d2cca25fd00f51fa68.tar.bz2
luafilesystem-packaging-851451b41aa8edc20077b4d2cca25fd00f51fa68.zip
Modify how we zip
-rwxr-xr-xinit4
-rw-r--r--meta.lua4
2 files changed, 5 insertions, 3 deletions
diff --git a/init b/init
index 1eac090..04cc66a 100755
--- a/init
+++ b/init
@@ -11,6 +11,6 @@ if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then
11 zip -d $obj docs/ docs/* tests/ tests/* 11 zip -d $obj docs/ docs/* tests/ tests/*
12 # And pack the library with upx 12 # And pack the library with upx
13 unzip $obj lib/* 13 unzip $obj lib/*
14 upx lib/* 14 upx --no-progress lib/*
15 zip -r -u $obj lib 15 zip -r -u "$obj" lib
16fi 16fi
diff --git a/meta.lua b/meta.lua
index 7fd381f..ed6d1a7 100644
--- a/meta.lua
+++ b/meta.lua
@@ -1,11 +1,13 @@
1local lua_versions = { 1local lua_versions = {
2 ["51"] = true, 2 ["51"] = true,
3 --[[
3 ["52"] = true, 4 ["52"] = true,
4 ["53"] = true, 5 ["53"] = true,
5 ["54"] = true, 6 ["54"] = true,
7 ]]
6} 8}
7local optimizations = { 9local optimizations = {
8 tiny = "-Oz", 10 --tiny = "-Oz",
9 --[[ 11 --[[
10 size = "-Os", 12 size = "-Os",
11 zero = "-O0", 13 zero = "-O0",