diff options
-rwxr-xr-x | init | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -8,8 +8,6 @@ obj="lpeg-1.1.0-2.$(luarocks config arch).rock" | |||
8 | cp $obj /root | 8 | cp $obj /root |
9 | cd /root | 9 | cd /root |
10 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then | 10 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then |
11 | # Release build, delete docs/ and tests/ | ||
12 | zip -d $obj docs/ docs/* tests/ tests/* | ||
13 | # And pack the library with upx | 11 | # And pack the library with upx |
14 | unzip $obj lib/* | 12 | unzip $obj lib/* |
15 | upx --no-progress lib/* | 13 | upx --no-progress lib/* |