summaryrefslogtreecommitdiff
path: root/xmake/plugins/check/checkers/api/target/strip.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/check/checkers/api/target/strip.lua')
-rw-r--r--xmake/plugins/check/checkers/api/target/strip.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/plugins/check/checkers/api/target/strip.lua b/xmake/plugins/check/checkers/api/target/strip.lua
index cf14c607b..c6074bc12 100644
--- a/xmake/plugins/check/checkers/api/target/strip.lua
+++ b/xmake/plugins/check/checkers/api/target/strip.lua
@@ -21,6 +21,7 @@
-- imports
import(".api_checker")
-function main()
- api_checker.check_targets("strip", {values = {"none", "debug", "all"}})
+function main(opt)
+ opt = opt or {}
+ api_checker.check_targets("strip", table.join(opt, {values = {"none", "debug", "all"}}))
end