summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-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