aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 7844f75b9..e93b6f464 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -171,6 +171,15 @@ task("precommit")
print(os.exec("pre-commit run --all-files"))
end)
+task("sln")
+ set_menu {
+ usage = "xmake sln",
+ description = "Generate Visual Studio project files",
+ }
+ on_run(function ()
+ print(os.exec("xmake project --yes --kind=vsxmake2022 -m release,debug -a x64"))
+ end)
+
task("test")
set_menu {
usage = "xmake runtest [core|store|server|integration|all]",