summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-21 09:24:00 +0800
committerruki <[email protected]>2021-03-21 09:24:00 +0800
commit03b2656fb77fb3339e43bf8871398b0e2f052a80 (patch)
tree8cef8f9e1953eef7ee717d66983e4c5413a7a921 /xmake/core/package/package.lua
parent7556e19a1193841aa49871ffab35bc3e56bd481e (diff)
improve builder
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 a59ee7c5d..d609c907d 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -60,6 +60,11 @@ function _instance:name()
return self._NAME
end
+-- get the type: package
+function _instance:type()
+ return "package"
+end
+
-- get the package configure
function _instance:get(name)