diff options
-rwxr-xr-x | init | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6,9 +6,7 @@ luarocks make --pack-binary-rock luafilesystem-scm-1.rockspec | |||
6 | obj="luafilesystem-scm-1.$(luarocks config arch).rock" | 6 | obj="luafilesystem-scm-1.$(luarocks config arch).rock" |
7 | cp $obj /root | 7 | cp $obj /root |
8 | cd /root | 8 | cd /root |
9 | if [ -n $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then | 9 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then |
10 | # Debug build | ||
11 | else | ||
12 | # Release build, delete docs/ and tests/ | 10 | # Release build, delete docs/ and tests/ |
13 | zip -d $obj docs/ docs/* tests/ tests/* | 11 | zip -d $obj docs/ docs/* tests/ tests/* |
14 | # And pack the library | 12 | # And pack the library |