diff options
| author | ruki <[email protected]> | 2023-11-09 23:07:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-09 23:07:50 +0800 |
| commit | d2b88ed47beac7188c95ea67947852378608e8a0 (patch) | |
| tree | 2d2aaf572ddc45a7cd9c0898faf3a4b560b61275 /xmake/includes | |
| parent | be11a41f594e743743dd34abf52e28adc6219f10 (diff) | |
improve add scopeapis
Diffstat (limited to 'xmake/includes')
| -rw-r--r-- | xmake/includes/xpack/xmake.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmake/includes/xpack/xmake.lua b/xmake/includes/xpack/xmake.lua index 59c813531..30efaf2ac 100644 --- a/xmake/includes/xpack/xmake.lua +++ b/xmake/includes/xpack/xmake.lua @@ -52,9 +52,4 @@ local apis = { "xpack.on_uninstallcmd" } } -for _, apiname in ipairs(apis.values) do - interp_add_scopeapis(apiname, {kind = "values"}) -end -for _, apiname in ipairs(apis.script) do - interp_add_scopeapis(apiname, {kind = "script"}) -end +interp_add_scopeapis(apis) |
