summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-05 23:29:08 +0800
committerruki <[email protected]>2026-08-05 23:29:08 +0800
commite33ddd0560f28d86beb65ec6087fc126d786f56b (patch)
tree15418e310fb6dfafe3b44dc9273c4e8c835e7347 /xmake/core
parent2c1dd455654e0811305183510d0c40adb2d70488 (diff)
update package comments
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/package/package.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 0d164ce95..ec4ea38b3 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -610,6 +610,11 @@ function _instance:is_toolchain()
return self:kind() == "toolchain"
end
+-- is plugin package?
+function _instance:is_plugin()
+ return self:kind() == "plugin"
+end
+
-- is library package?
--
-- @return true if the package kind is "library" or default