Skip to content

Commit

Permalink
Merge cb33300 into 8bc976d
Browse files Browse the repository at this point in the history
  • Loading branch information
kbaum committed Nov 9, 2019
2 parents 8bc976d + cb33300 commit 831917c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions lua/install.sh
@@ -1,16 +1,13 @@
#!/bin/bash

LUA_DIR="$HOME/lua51"
BUSTED="$LUA_DIR/bin/busted"
LUA="$LUA_DIR/bin/lua"

if [ -f "$BUSTED" ]
then
echo "$BUSTED already exists"
exit 0
if [ ! -f $LUA ]; then
echo "Installing lua"
pip install hererocks
hererocks $LUA_DIR -l5.1 -rlatest
fi

pip install hererocks
hererocks $LUA_DIR -l5.1 -rlatest
source $LUA_DIR/bin/activate
lua -v
for i in luacov busted redis-lua inspect lua-cjson; do
Expand Down

0 comments on commit 831917c

Please sign in to comment.