summaryrefslogtreecommitdiff
path: root/xmake/includes/xpack/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-22 22:39:22 +0800
committerruki <[email protected]>2023-11-22 22:39:22 +0800
commitc891130491d408f297902484df74ac6afa9b8d88 (patch)
treead818346a8066a9a08701199d809f23fbcc778b8 /xmake/includes/xpack/xmake.lua
parent8846d9ece834a1d8b78234da6f1e439e1075b45e (diff)
impl uncheck component
Diffstat (limited to 'xmake/includes/xpack/xmake.lua')
-rw-r--r--xmake/includes/xpack/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/includes/xpack/xmake.lua b/xmake/includes/xpack/xmake.lua
index 88936bb8b..345431ffc 100644
--- a/xmake/includes/xpack/xmake.lua
+++ b/xmake/includes/xpack/xmake.lua
@@ -64,7 +64,9 @@ local apis = {
-- set package component title
"xpack_component.set_title",
-- set package component description
- "xpack_component.set_description"
+ "xpack_component.set_description",
+ -- enable/disable this component by default
+ "xpack_component.set_default"
},
paths = {
-- set the spec file path, support the custom variable pattern, e.g. set_specfile("", {pattern = "%${([^\n]-)}"})