Skip to content

Commit

Permalink
ignore xmake.lua for apis
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 26, 2024
1 parent f4ccb18 commit 539785c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/plugins/show/lists/apis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function script_extension_module_apis()
local moduledirs = module.directories()
for _, moduledir in ipairs(moduledirs) do
moduledir = path.absolute(moduledir)
local modulefiles = os.files(path.join(moduledir, "**.lua|xmake.lua|private/**.lua|core/tools/**.lua|detect/tools/**.lua"))
local modulefiles = os.files(path.join(moduledir, "**.lua|**/xmake.lua|private/**.lua|core/tools/**.lua|detect/tools/**.lua"))
if modulefiles then
for _, modulefile in ipairs(modulefiles) do
local modulename = path.relative(modulefile, moduledir)
Expand Down

0 comments on commit 539785c

Please sign in to comment.