diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -1,6 +1,6 @@ -- Copyright Epic Games, Inc. All Rights Reserved. -set_configvar("ZEN_SCHEMA_VERSION", 4) -- store Cid data in CAS under raw hash (dan.engelbrecht) +set_configvar("ZEN_SCHEMA_VERSION", 5) -- force state wipe after 0.2.31 causing bad data (dan.engelbrecht) add_requires( "vcpkg::asio", @@ -166,6 +166,7 @@ task("bundle") description = "Create Zip bundle from binaries", options = { {nil, "withtrace", "k", nil, "Compiles with trace support"}, + {nil, "codesignidentity", "v", nil, "Code signing identity"}, } } on_run(function () @@ -173,6 +174,16 @@ task("bundle") bundle() end) +task("updatefrontend") + set_menu { + usage = "xmake updatefrontend", + description = "Create Zip of the frontend/html folder for bundling with zenserver executable", + } + on_run(function() + import("scripts.updatefrontend") + updatefrontend() + end) + task("precommit") set_menu { usage = "xmake precommit", @@ -234,12 +245,19 @@ task("test") print(os.exec("xmake")) local tests = {} + local found_match = false + for name, test in pairs(available_tests) do if name == testname or testname == "all" then tests[name] = test + found_match = true end end + if not found_match then + raise("no tests match specification: '%s'", testname) + end + local use_junit_reporting = option.get("junit") local junit_report_files = {} |