summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2024-06-15 00:43:18 +0800
committerruki <[email protected]>2024-06-15 00:43:18 +0800
commit6cf3886bd1c113d3189d075cc936fd609e284680 (patch)
tree8b72f20b4927a656e2ea38014c84e006164547db /tests
parenta71bfc26daf8a5f609c8653134ad8124f3870ab0 (diff)
add output kind for xpack
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/pack/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua
index 638b6208d..cf07d8ca6 100644
--- a/tests/plugins/pack/xmake.lua
+++ b/tests/plugins/pack/xmake.lua
@@ -34,7 +34,7 @@ xpack("test")
add_components("LongPath")
on_load(function (package)
- if package:from_source() then
+ if package:with_source() then
package:set("basename", "test-$(plat)-src-v$(version)")
else
package:set("basename", "test-$(plat)-$(arch)-v$(version)")