Skip to content

Commit

Permalink
Remove lua. It was never made fully functional and if we ever wanted
Browse files Browse the repository at this point in the history
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 8944390
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 784 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 0 additions & 8 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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\""
Expand All @@ -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"
;;
Expand Down
11 changes: 0 additions & 11 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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()
{
Expand Down
177 changes: 0 additions & 177 deletions src/AST.cpp

This file was deleted.

Loading

0 comments on commit 8944390

Please sign in to comment.