Skip to content
Permalink
Browse files

Remove lua. It was never made fully functional and if we ever wanted

to do something like that (which I don't really think is such a hot
idea) we should rather build tooling based on our JSON outputs or at
the least use a language that people like better.
  • Loading branch information...
Andersbakken committed Mar 13, 2019
1 parent 5f793d9 commit 8944390593804e93c006c2964b667556c9b902a1
Showing with 3 additions and 784 deletions.
  1. +0 −1 .gitignore
  2. +0 −8 .gitmodules
  3. +0 −8 configure
  4. +0 −11 scripts/travis.sh
  5. +0 −177 src/AST.cpp
  6. +0 −460 src/AST.h
  7. +1 −32 src/CMakeLists.txt
  8. +0 −18 src/ClangThread.cpp
  9. +2 −10 src/QueryMessage.cpp
  10. +0 −11 src/QueryMessage.h
  11. +0 −35 src/RClient.cpp
  12. +0 −8 src/RClient.h
  13. +0 −3 src/Server.cpp
  14. +0 −1 src/lua
  15. +0 −1 src/selene
@@ -50,7 +50,6 @@ compile_commands.json
/emake.data.bak
/emake.data
/.emake/sched/Linux/emake.sched
/src/lua-prefix
/CTestTestfile.cmake
/DartConfiguration.tcl
/Testing
@@ -2,11 +2,3 @@
path = src/rct
url = https://github.com/Andersbakken/rct
branch = master
[submodule "src/selene"]
path = src/selene
url = https://github.com/jeremyong/Selene.git
branch = master
[submodule "src/lua"]
path = src/lua
url = https://github.com/LuaDist/lua.git
branch = master
@@ -21,8 +21,6 @@ function usage ()
echo " --clang-libdir [arg] Sets the libdir RTags will use for clang."
echo " --cotire Enable cotire when building RTags"
echo " --emacs Use arg instead of \"emacs\" when byte-compiling elisp"
echo " --lua-enabled Enable LUA AST scripting"
echo " --no-lua-files-install Don't install RTags lua files"
echo " --no-elisp-files-install Don't install RTags elisp files"
echo " --no-elisp-bytecompile Don't bytecompile RTags elisp files"
echo " --elisp-install-location [arg] Install elisp files to this location"
@@ -77,9 +75,6 @@ while [ -n "$1" ]; do
shift
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=\"$1\""
;;
--lua-enabled)
CMAKE_ARGS="${CMAKE_ARGS} -DLUA_ENABLED=1"
;;
--clang-libraries)
shift
CMAKE_ARGS="${CMAKE_ARGS} -DLIBCLANG_LIBRARIES=\"$1\""
@@ -99,9 +94,6 @@ while [ -n "$1" ]; do
shift
CMAKE_ARGS="${CMAKE_ARGS} -DEMACS=\"$1\""
;;
--no-lua-files-install)
CMAKE_ARGS="${CMAKE_ARGS} -DRTAGS_NO_LUA_FILES=1"
;;
--no-elisp-files-install)
CMAKE_ARGS="${CMAKE_ARGS} -DRTAGS_NO_ELISP_FILES=1"
;;
@@ -22,9 +22,6 @@
#
# Description: The following variables can be changed from the build matrix:
# - ASAN (default value is "1")
# - LUA_VERSION (default value is "5.3.2")
# - LUA_DISABLE (default value is "", set it to anything to disable lua
# extension for that matrix)
declare -a CMAKE_PARAMS=("-DCMAKE_CXX_COMPILER=$CXX$COMPILER_VERSION"
"-DCMAKE_C_COMPILER=$CC$COMPILER_VERSION"
"-DBUILD_TESTING=1")
@@ -33,14 +30,6 @@ if [ "$ASAN" ]; then
CMAKE_PARAMS+=("-DASAN=address,undefined")
fi

LUA_DISABLE=${LUA_DISABLE:-""}
if [ ! $LUA_DISABLE ]; then
CMAKE_PARAMS+=("-DLUA_ENABLED=1")
echo "Running build with Lua extension."
else
echo "Running build without Lua extension."
fi # end ! $LUA_DISABLE

export CCACHE_DEBUG=1
function build_and_test()
{

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 8944390

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.