aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/xmake.lua
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-23 10:39:06 +0100
committerGitHub <[email protected]>2023-11-23 10:39:06 +0100
commit47d2c1264eb14e55ade42f993be5163ffc6cfaae (patch)
tree773e3d766176a8de70760c2a86f854014d569192 /src/zenserver/xmake.lua
parentchangelog version bump (diff)
downloadzen-47d2c1264eb14e55ade42f993be5163ffc6cfaae.tar.xz
zen-47d2c1264eb14e55ade42f993be5163ffc6cfaae.zip
embed html frontend content as binary compiled data (#559)
- Feature: Added xmake task `updatefrontend` which updates the zip file containing the frontend html (`/src/zenserver/frontend/html.zip`) - Improvement: The frontend html content is no longer appended at the end of the executable which prevented signing, instead it is compiled in from the `/src/zenserver/frontend/html.zip` archive - Improvement: MacOS now does ad-hoc code signing by default when issuing `xmake bundle`, signing with proper cert is done on CI builds
Diffstat (limited to 'src/zenserver/xmake.lua')
-rw-r--r--src/zenserver/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenserver/xmake.lua b/src/zenserver/xmake.lua
index 127213ebd..c42f305ee 100644
--- a/src/zenserver/xmake.lua
+++ b/src/zenserver/xmake.lua
@@ -9,7 +9,9 @@ target("zenserver")
"zenutil",
"zenvfs")
add_headerfiles("**.h")
+ add_rules("utils.bin2c", {extensions = {".zip"}})
add_files("**.cpp")
+ add_files("frontend/*.zip")
add_files("zenserver.cpp", {unity_ignored = true })
add_includedirs(".")
set_symbols("debug")