mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Allow a lua debugger to be specified on functionaltest-lua
target
This commit is contained in:
parent
704f3dd855
commit
3f698b8106
2
third-party/cmake/BuildLua.cmake
vendored
2
third-party/cmake/BuildLua.cmake
vendored
@ -77,7 +77,7 @@ set(BUSTED ${DEPS_INSTALL_DIR}/bin/busted)
|
|||||||
set(BUSTED_LUA ${BUSTED}-lua)
|
set(BUSTED_LUA ${BUSTED}-lua)
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${BUSTED_LUA}
|
add_custom_command(OUTPUT ${BUSTED_LUA}
|
||||||
COMMAND sed -e 's/jit//g' < ${BUSTED} > ${BUSTED_LUA} && chmod +x ${BUSTED_LUA}
|
COMMAND sed -e 's/^exec/exec $$LUA_DEBUGGER/' -e 's/jit//g' < ${BUSTED} > ${BUSTED_LUA} && chmod +x ${BUSTED_LUA}
|
||||||
DEPENDS lua)
|
DEPENDS lua)
|
||||||
add_custom_target(busted-lua
|
add_custom_target(busted-lua
|
||||||
DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua)
|
DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua)
|
||||||
|
Loading…
Reference in New Issue
Block a user