aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-05 14:31:27 +0100
committerGitHub Enterprise <[email protected]>2026-03-05 14:31:27 +0100
commit2f0d60cb431ffefecf3e0a383528691be74af21b (patch)
tree283ed399db0eacc9440f9b0fdaae35f01f96b3df /src
parent5.7.22-pre0 (diff)
downloadzen-2f0d60cb431ffefecf3e0a383528691be74af21b.tar.xz
zen-2f0d60cb431ffefecf3e0a383528691be74af21b.zip
oidctoken tool package (#810)
* added OidcToken binary to the build process. The binary is mirrored from p4 and is placed next to the output of the build process. It is also placed in the release zip archives. * also fixed issue with Linux symbol stripping which was introduced in toolchain changes yesterday
Diffstat (limited to 'src')
-rw-r--r--src/zenserver/xmake.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/zenserver/xmake.lua b/src/zenserver/xmake.lua
index 7a9031782..f2ed17f05 100644
--- a/src/zenserver/xmake.lua
+++ b/src/zenserver/xmake.lua
@@ -33,6 +33,7 @@ target("zenserver")
add_packages("json11")
add_packages("lua")
add_packages("consul")
+ add_packages("oidctoken")
add_packages("nomad")
if has_config("zenmimalloc") then
@@ -161,6 +162,16 @@ target("zenserver")
copy_if_newer(path.join(installdir, "bin", consul_bin), path.join(target:targetdir(), consul_bin), consul_bin)
end
+ local oidctoken_pkg = target:pkg("oidctoken")
+ if oidctoken_pkg then
+ local installdir = oidctoken_pkg:installdir()
+ local oidctoken_bin = "OidcToken"
+ if is_plat("windows") then
+ oidctoken_bin = "OidcToken.exe"
+ end
+ copy_if_newer(path.join(installdir, "bin", oidctoken_bin), path.join(target:targetdir(), oidctoken_bin), oidctoken_bin)
+ end
+
local nomad_pkg = target:pkg("nomad")
if nomad_pkg then
local installdir = nomad_pkg:installdir()