summaryrefslogtreecommitdiff
path: root/tests/plugins/pack/xmake.lua
diff options
context:
space:
mode:
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)