Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Jun 30, 2024
1 parent 816e1fe commit fb0f4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/runci/targets/Lua.hx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class Lua {
args.push('OPENSSL_DIR=${opensslPath.stdout.trim()}');
final pcrePath = commandResult("brew", ["--prefix", "pcre2"]);
args.push('PCRE2_DIR=${pcrePath.stdout.trim()}');
var luaLibDir = commandResult("luarocks", ["config", "--lua-libdir"]).stdout;
args.push('LUA_LIBDIR=${luaLibDir.trim()}');
}
if (server != null){
final server_arg = '--server=$server';
Expand Down Expand Up @@ -67,8 +69,6 @@ class Lua {

runCommand("luarocks", ["config", "--lua-incdir"]);
runCommand("luarocks", ["config", "--lua-libdir"]);
var luaLibDir = commandResult("luarocks", ["config", "--lua-libdir"]).stdout;
Sys.putEnv("LUA_LIBDIR", luaLibDir);
runCommand("luarocks", ["config", "--lua-ver"]);
runCommand("luarocks", ["config", "--system-config"]);
runCommand("luarocks", ["config", "--rock-trees"]);
Expand Down

0 comments on commit fb0f4d1

Please sign in to comment.