summaryrefslogtreecommitdiff
path: root/xmake/core/package
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package')
-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 0c9261a07..e209a2532 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -72,6 +72,11 @@ function _instance:name()
return self._NAME
end
+-- get the package description
+function _instance:description()
+ return self:get("description")
+end
+
-- get the platform of package
function _instance:plat()
-- @note we uses os.host() instead of them for the binary package