summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShifftC <[email protected]>2025-02-11 03:13:09 +0100
committerShifftC <[email protected]>2025-02-11 03:13:09 +0100
commit0bccb933df1d2562e82489abca8b34b8a405adfe (patch)
tree1b78e37a578ca5a387306372724c2e2e1ad38fc4
parent9feca154646d0c1a2edabd5c4cca931df3e78054 (diff)
make find_similar_targetnames private
-rw-r--r--xmake/modules/lib/detect/check_targetname.lua2
-rw-r--r--xmake/modules/private/detect/find_similar_targetnames.lua (renamed from xmake/modules/lib/detect/find_similar_targetnames.lua)0
2 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/check_targetname.lua b/xmake/modules/lib/detect/check_targetname.lua
index a8e6a2d51..8beabe2b7 100644
--- a/xmake/modules/lib/detect/check_targetname.lua
+++ b/xmake/modules/lib/detect/check_targetname.lua
@@ -20,7 +20,7 @@
-- imports
import("core.project.project")
-import("lib.detect.find_similar_targetnames")
+import("private.detect.find_similar_targetnames")
-- check if a target name is valid
--
diff --git a/xmake/modules/lib/detect/find_similar_targetnames.lua b/xmake/modules/private/detect/find_similar_targetnames.lua
index 3ef023254..3ef023254 100644
--- a/xmake/modules/lib/detect/find_similar_targetnames.lua
+++ b/xmake/modules/private/detect/find_similar_targetnames.lua