summaryrefslogtreecommitdiff
path: root/tests/plugins/pack/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-09 23:28:21 +0800
committerruki <[email protected]>2023-11-09 23:28:21 +0800
commit9e3d1aa3e1445b3d2d63f27b488221461e873b3b (patch)
tree1b1b6e5384f962cd19db09526cd57d3ef4ad632e /tests/plugins/pack/xmake.lua
parentd2b88ed47beac7188c95ea67947852378608e8a0 (diff)
load xpack instance
Diffstat (limited to 'tests/plugins/pack/xmake.lua')
-rw-r--r--tests/plugins/pack/xmake.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua
index 84e97e8d3..2268c4a5e 100644
--- a/tests/plugins/pack/xmake.lua
+++ b/tests/plugins/pack/xmake.lua
@@ -2,13 +2,15 @@ add_rules("mode.debug", "mode.release")
includes("@builtin/xpack")
-xpack("test")
- set_description("hello")
- on_installcmd(function ()
- end)
-
target("test")
set_kind("binary")
add_files("src/*.cpp")
+xpack("test")
+ add_formats("nsis")
+ set_description("hello")
+ add_targets("test")
+
+ on_installcmd(function (package)
+ end)