diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 23 |
1 files changed, 9 insertions, 14 deletions
@@ -105,14 +105,6 @@ if not is_arch("arm64") then end if is_os("windows") then - option("vfs") - -- note: this is an old prototype and is not functional at all at the moment - set_default(false) - set_showmenu(false) - set_description("Enable VFS functionality") - option_end() - add_define_by_config("ZEN_WITH_VFS", "vfs") - option("httpsys") set_default(true) set_showmenu(true) @@ -135,12 +127,6 @@ option("compute") option_end() add_define_by_config("ZEN_WITH_COMPUTE_SERVICES", "compute") -option("exec") - set_default(is_os("windows")) - set_showmenu(true) - set_description("Enable exec services endpoint") -option_end() -add_define_by_config("ZEN_WITH_EXEC_SERVICES", "exec") option("zentrace") set_default(true) @@ -176,6 +162,15 @@ task("bundle") bundle() end) +task("precommit") + set_menu { + usage = "xmake precommit", + description = "Run required pre-commit steps (clang-format, etc)", + } + on_run(function () + print(os.exec("pre-commit run --all-files")) + end) + task("test") set_menu { usage = "xmake runtest [core|store|server|integration|all]", |