diff options
| author | ruki <[email protected]> | 2023-11-14 23:04:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-14 23:04:06 +0800 |
| commit | 661940b67e586377a362dd956b699244aa3165ec (patch) | |
| tree | 40fb0d6edba05b1848bc364ca7629633f283c8ef /tests/plugins/pack/xmake.lua | |
| parent | a6712c961f931d3691e8ef3cf51ff3979610fec9 (diff) | |
improve some cmds
Diffstat (limited to 'tests/plugins/pack/xmake.lua')
| -rw-r--r-- | tests/plugins/pack/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua index 666b98c54..46517107b 100644 --- a/tests/plugins/pack/xmake.lua +++ b/tests/plugins/pack/xmake.lua @@ -15,11 +15,11 @@ xpack("test") add_installfiles("assets/*.png") set_installdir("assets") on_installcmd(function (package, batchcmds) - batchcmds:cp("assets/*.txt", "assets") + batchcmds:cp("src/assets/*.txt", "resources/", {rootdir = "src"}) batchcmds:mkdir("stub") end) on_uninstallcmd(function (package, batchcmds) - batchcmds:rm("assets") + batchcmds:rm("resources") batchcmds:rm("stub") end) |
