diff options
| author | ruki <[email protected]> | 2023-11-09 23:28:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-09 23:28:21 +0800 |
| commit | 9e3d1aa3e1445b3d2d63f27b488221461e873b3b (patch) | |
| tree | 1b1b6e5384f962cd19db09526cd57d3ef4ad632e /tests/plugins/pack/xmake.lua | |
| parent | d2b88ed47beac7188c95ea67947852378608e8a0 (diff) | |
load xpack instance
Diffstat (limited to 'tests/plugins/pack/xmake.lua')
| -rw-r--r-- | tests/plugins/pack/xmake.lua | 12 |
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) |
