mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
build: remove USE_BUNDLED_BUSTED option
The previous logic made it possible to install bundled luarocks, but also use external rocks, making the luarocks installation unnecessary. Instead, let's assume that if the user wants to use the bundled luarocks, then they also want to use it to install necessary rocks.
This commit is contained in:
parent
71424a8a0e
commit
88366641ad
@ -3,8 +3,6 @@
|
|||||||
# running luarocks in parallel will break, e.g. when some rocks have
|
# running luarocks in parallel will break, e.g. when some rocks have
|
||||||
# the same dependency.
|
# the same dependency.
|
||||||
|
|
||||||
option(USE_BUNDLED_BUSTED "Use the bundled version of busted to run tests." ON)
|
|
||||||
|
|
||||||
# The luarocks binary location
|
# The luarocks binary location
|
||||||
set(LUAROCKS_BINARY ${DEPS_BIN_DIR}/luarocks)
|
set(LUAROCKS_BINARY ${DEPS_BIN_DIR}/luarocks)
|
||||||
|
|
||||||
@ -119,7 +117,6 @@ function(Download ROCK VER)
|
|||||||
set(CURRENT_DEP ${ROCK} PARENT_SCOPE)
|
set(CURRENT_DEP ${ROCK} PARENT_SCOPE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if(USE_BUNDLED_BUSTED)
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(BUSTED_EXE "${DEPS_BIN_DIR}/busted.bat")
|
set(BUSTED_EXE "${DEPS_BIN_DIR}/busted.bat")
|
||||||
set(LUACHECK_EXE "${DEPS_BIN_DIR}/luacheck.bat")
|
set(LUACHECK_EXE "${DEPS_BIN_DIR}/luacheck.bat")
|
||||||
@ -134,4 +131,3 @@ if(USE_BUNDLED_BUSTED)
|
|||||||
if (USE_BUNDLED_LUA OR NOT USE_BUNDLED_LUAJIT)
|
if (USE_BUNDLED_LUA OR NOT USE_BUNDLED_LUAJIT)
|
||||||
Download(coxpcall 1.17.0-1)
|
Download(coxpcall 1.17.0-1)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user