From 781a8f8495fc9adea5af2840333c7ab14e9aa183 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 6 Jun 2022 15:30:23 -0300 Subject: rockspec: pass lua_dir and lua_interpreter to busted. --- luarocks-dev-1.rockspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luarocks-dev-1.rockspec b/luarocks-dev-1.rockspec index c7933042..718ce338 100644 --- a/luarocks-dev-1.rockspec +++ b/luarocks-dev-1.rockspec @@ -13,7 +13,7 @@ description = { so that when one rock is requested all rocks it depends on are installed as well, and at run time, so that when a module is required, the correct version is loaded. LuaRocks supports both - local and remote repositories, and multiple local rocks trees. + local and remote repositories, and multiple local rocks trees. ]], homepage = "http://www.luarocks.org", issues_url = "https://github.com/luarocks/luarocks/issues", @@ -28,10 +28,10 @@ test = { type = "busted", platforms = { windows = { - flags = { "--exclude-tags=ssh,git,unix" } + flags = { "--exclude-tags=ssh,git,unix", "-Xhelper", "lua_dir=$(LUA_DIR)", "-Xhelper", "lua_interpreter=$(LUA)" } }, unix = { - flags = { "--exclude-tags=ssh,git" } + flags = { "--exclude-tags=ssh,git", "-Xhelper", "lua_dir=$(LUA_DIR)", "-Xhelper", "lua_interpreter=$(LUA)" } } } } -- cgit v1.2.3-55-g6feb