aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-06-06 15:30:23 -0300
committerHisham Muhammad <hisham@gobolinux.org>2022-06-06 17:14:52 -0300
commit781a8f8495fc9adea5af2840333c7ab14e9aa183 (patch)
tree0240cc9f5125b908986e566eeee4faca44505846
parentbec4a9cbf72c8e392163f50f7b6bbb18763d9f90 (diff)
downloadluarocks-781a8f8495fc9adea5af2840333c7ab14e9aa183.tar.gz
luarocks-781a8f8495fc9adea5af2840333c7ab14e9aa183.tar.bz2
luarocks-781a8f8495fc9adea5af2840333c7ab14e9aa183.zip
rockspec: pass lua_dir and lua_interpreter to busted.
-rw-r--r--luarocks-dev-1.rockspec6
1 files 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 = {
13 so that when one rock is requested all rocks it depends on are 13 so that when one rock is requested all rocks it depends on are
14 installed as well, and at run time, so that when a module is 14 installed as well, and at run time, so that when a module is
15 required, the correct version is loaded. LuaRocks supports both 15 required, the correct version is loaded. LuaRocks supports both
16 local and remote repositories, and multiple local rocks trees. 16 local and remote repositories, and multiple local rocks trees.
17 ]], 17 ]],
18 homepage = "http://www.luarocks.org", 18 homepage = "http://www.luarocks.org",
19 issues_url = "https://github.com/luarocks/luarocks/issues", 19 issues_url = "https://github.com/luarocks/luarocks/issues",
@@ -28,10 +28,10 @@ test = {
28 type = "busted", 28 type = "busted",
29 platforms = { 29 platforms = {
30 windows = { 30 windows = {
31 flags = { "--exclude-tags=ssh,git,unix" } 31 flags = { "--exclude-tags=ssh,git,unix", "-Xhelper", "lua_dir=$(LUA_DIR)", "-Xhelper", "lua_interpreter=$(LUA)" }
32 }, 32 },
33 unix = { 33 unix = {
34 flags = { "--exclude-tags=ssh,git" } 34 flags = { "--exclude-tags=ssh,git", "-Xhelper", "lua_dir=$(LUA_DIR)", "-Xhelper", "lua_interpreter=$(LUA)" }
35 } 35 }
36 } 36 }
37} 37}