diff --git a/build.sh b/build.sh index f6c2c08..1cfa87c 100755 --- a/build.sh +++ b/build.sh @@ -306,7 +306,6 @@ if [ "$1" = "driver" ]; then if [ ! -d "$root/jit" ]; then mkdir -p $root/jit cp -r luajit-2.0/src/jit/* $root/jit - ls $root/jit fi else if [ ! -d "lua-all/$2" ]; then @@ -351,7 +350,6 @@ if [ "$1" = "package" ]; then if [ ! -d "$root/jit" ]; then mkdir -p $root/jit cp -r luajit-2.0/src/jit/* $root/jit - ls $root/jit fi else if [ ! -d "lua-all/$2" ]; then diff --git a/src/ldata.c b/src/ldata.c index 697d7ee..414e1ff 100644 --- a/src/ldata.c +++ b/src/ldata.c @@ -65,7 +65,7 @@ const char HELP_MESSAGE[] = - "LuaConsole | Version: 1/22/2019\n\n" + "LuaConsole | Version: 2/10/2019\n\n" #if LUA_VERSION_NUM <= 501 LUA_VERSION " | " LUA_COPYRIGHT "\n" #else @@ -105,7 +105,7 @@ const char HELP_MESSAGE[] = "- \t\tProcesses input from stdin\n" "-- \t\tStops processing parameters\n" #if defined(LUA_JIT_51) - "-j \t\t [LuaJIT] Performs a control command loads an extension module\n" + "-j \t\t [LuaJIT] Performs a control command/loads an extension module\n" "-O \t\t [LuaJIT] Sets an optimization level/parameters\n" "-b \t\t [LuaJIT] Saves or lists bytecode\n" #endif diff --git a/travis.sh b/travis.sh index 52ed5af..d191d56 100644 --- a/travis.sh +++ b/travis.sh @@ -59,6 +59,10 @@ pushd bin/Debug echo "Test 1" ./luaw -e "print('Everything went okay')" + # Code coverage + gcov *.gc* + bash <(curl -s https://codecov.io/bash) + echo "Test 2" ./luaw -w luajit -e "print('Everything went okay')" @@ -73,10 +77,12 @@ pushd bin/Debug echo "Test 6" ./luaw res/testing.lua -Dtest=5 -n a b c + echo "Test 6 end" echo "Test 7" ./luaw -b res/testing.lua testing.luac ./luaw testing.luac -Dtest=5 -n a b c + echo "Test 7 end" echo "Test 8" ./luaw -w luajit -c -o testing.luac "res/testing.lua" @@ -100,9 +106,6 @@ pushd bin/Debug popd -# Code coverage -gcov *.gc* -bash <(curl -s https://codecov.io/bash) # Update cache if needed cp -f -r -u lua-all $HOME/cistore