diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-04 18:13:36 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-04 18:13:36 -0500 |
| commit | 851451b41aa8edc20077b4d2cca25fd00f51fa68 (patch) | |
| tree | eca66a22cb24e38bedc0bcdc02fdf73914492e5a | |
| parent | 2b5e5d9b0b35ec88b7dca9b183361dc18bc7d3a6 (diff) | |
| download | luafilesystem-packaging-851451b41aa8edc20077b4d2cca25fd00f51fa68.tar.gz luafilesystem-packaging-851451b41aa8edc20077b4d2cca25fd00f51fa68.tar.bz2 luafilesystem-packaging-851451b41aa8edc20077b4d2cca25fd00f51fa68.zip | |
Modify how we zip
| -rwxr-xr-x | init | 4 | ||||
| -rw-r--r-- | meta.lua | 4 |
2 files changed, 5 insertions, 3 deletions
| @@ -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 |
| 16 | fi | 16 | fi |
| @@ -1,11 +1,13 @@ | |||
| 1 | local lua_versions = { | 1 | local 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 | } |
| 7 | local optimizations = { | 9 | local optimizations = { |
| 8 | tiny = "-Oz", | 10 | --tiny = "-Oz", |
| 9 | --[[ | 11 | --[[ |
| 10 | size = "-Os", | 12 | size = "-Os", |
| 11 | zero = "-O0", | 13 | zero = "-O0", |
