diff options
| author | Stefan Boberg <[email protected]> | 2023-01-26 10:02:16 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-01-26 10:02:16 +0100 |
| commit | 283ef719ac57339f9338765bf2013ee110897396 (patch) | |
| tree | 1d61eb02327edbc693c9907b7a14b3f2b6fb2aaf /xmake.lua | |
| parent | removed experimental mesh code (diff) | |
| parent | Fixed macro leaking out (diff) | |
| download | zen-283ef719ac57339f9338765bf2013ee110897396.tar.xz zen-283ef719ac57339f9338765bf2013ee110897396.zip | |
merge
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]", |