summaryrefslogtreecommitdiff
path: root/tests/plugins/pack
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-24 22:40:46 +0800
committerruki <[email protected]>2023-11-24 22:40:46 +0800
commit3b725a5ad461e3085a475ee820ca9da01adeb363 (patch)
tree9fd83a12a5d59139a63becf57ac5b4cbfbc33984 /tests/plugins/pack
parentce57069b6de7abaa758f791e29f89fa5dec34448 (diff)
improve batchcmds for runself
Diffstat (limited to 'tests/plugins/pack')
-rw-r--r--tests/plugins/pack/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua
index 3000c9f28..5f4be60a3 100644
--- a/tests/plugins/pack/xmake.lua
+++ b/tests/plugins/pack/xmake.lua
@@ -40,6 +40,7 @@ xpack("test")
after_installcmd(function (package, batchcmds)
if package:from_source() then
+ batchcmds:runv("echo", {"hello"})
else
batchcmds:mkdir(package:installdir("resources"))
batchcmds:cp("src/assets/*.txt", package:installdir("resources"), {rootdir = "src"})