Skip to content

Commit

Permalink
Remove luarocks debug command
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcook committed Oct 18, 2024
1 parent ed354d4 commit c16edd7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/gh_actions/setup_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ LR_HOME_DIR=$GITHUB_WORKSPACE/install/luarocks
rm -rf $HOME/.lua
mkdir -p $HOME/.lua

LUAJIT="yes"
if [ "$LUA" == "luajit" ]; then
LUAJIT="yes"
else
LUAJIT="no"
fi

if [ "$PLATFORM" == "macosx" ]; then
export MACOSX_DEPLOYMENT_TARGET=`sw_vers --productVersion`
Expand Down Expand Up @@ -85,10 +89,9 @@ ln -s $LR_HOME_DIR/bin/luarocks $HOME/.lua/luarocks
cd $GITHUB_WORKSPACE

luarocks --version
luarocks

if [ "$LUAJIT" == "yes" ]; then
rm -rf $luajit;
rm -rf luajit;
elif [ "$LUA" == "lua5.1" ]; then
rm -rf lua-5.1.5;
elif [ "$LUA" == "lua5.2" ]; then
Expand Down

0 comments on commit c16edd7

Please sign in to comment.