summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShifftC <[email protected]>2025-02-11 03:15:40 +0100
committerShifftC <[email protected]>2025-02-11 03:15:40 +0100
commitbf41f963c129968e94905b10de9df10248eca8f7 (patch)
tree36306439c67d24292992f30a286cf056194a67cc
parent0bccb933df1d2562e82489abca8b34b8a405adfe (diff)
make check_targetname private
-rw-r--r--xmake/actions/clean/main.lua2
-rw-r--r--xmake/actions/package/local/main.lua2
-rw-r--r--xmake/actions/package/oldpkg/main.lua2
-rw-r--r--xmake/actions/package/remote/main.lua2
-rw-r--r--xmake/actions/run/main.lua2
-rw-r--r--xmake/modules/cli/amalgamate.lua2
-rw-r--r--xmake/modules/private/detect/check_targetname.lua (renamed from xmake/modules/lib/detect/check_targetname.lua)0
-rw-r--r--xmake/plugins/show/info/target.lua2
8 files changed, 7 insertions, 7 deletions
diff --git a/xmake/actions/clean/main.lua b/xmake/actions/clean/main.lua
index cd581ee20..ec89a4965 100644
--- a/xmake/actions/clean/main.lua
+++ b/xmake/actions/clean/main.lua
@@ -29,7 +29,7 @@ import("core.platform.platform")
import("private.action.clean.remove_files")
import("target.action.clean", {alias = "_do_clean_target"})
import("private.service.remote_build.action", {alias = "remote_build_action"})
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
-- on clean target
function _on_clean_target(target)
diff --git a/xmake/actions/package/local/main.lua b/xmake/actions/package/local/main.lua
index 547fc3438..bbe1bee74 100644
--- a/xmake/actions/package/local/main.lua
+++ b/xmake/actions/package/local/main.lua
@@ -25,7 +25,7 @@ import("core.project.rule")
import("core.project.config")
import("core.project.project")
import("target.action.install")
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
-- get library deps
function _get_librarydeps(target)
diff --git a/xmake/actions/package/oldpkg/main.lua b/xmake/actions/package/oldpkg/main.lua
index d5df0e19f..d0854635f 100644
--- a/xmake/actions/package/oldpkg/main.lua
+++ b/xmake/actions/package/oldpkg/main.lua
@@ -24,7 +24,7 @@ import("core.base.task")
import("core.project.rule")
import("core.project.config")
import("core.project.project")
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
-- package library
function _package_library(target)
diff --git a/xmake/actions/package/remote/main.lua b/xmake/actions/package/remote/main.lua
index 8bfe1258c..67ce68f1c 100644
--- a/xmake/actions/package/remote/main.lua
+++ b/xmake/actions/package/remote/main.lua
@@ -25,7 +25,7 @@ import("core.project.rule")
import("core.project.config")
import("core.project.project")
import("core.base.bit")
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
-- get library deps
function _get_librarydeps(target)
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index 90eeeaed6..ab2db5cd1 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -29,7 +29,7 @@ import("devel.debugger")
import("async.runjobs")
import("private.action.run.runenvs")
import("private.service.remote_build.action", {alias = "remote_build_action"})
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
import("lib.detect.find_tool")
-- run target
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua
index cdab33c05..8c7ec6fd7 100644
--- a/xmake/modules/cli/amalgamate.lua
+++ b/xmake/modules/cli/amalgamate.lua
@@ -24,7 +24,7 @@ import("core.base.graph")
import("core.project.config")
import("core.project.task")
import("core.project.project")
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
-- the options
local options =
diff --git a/xmake/modules/lib/detect/check_targetname.lua b/xmake/modules/private/detect/check_targetname.lua
index 8beabe2b7..8beabe2b7 100644
--- a/xmake/modules/lib/detect/check_targetname.lua
+++ b/xmake/modules/private/detect/check_targetname.lua
diff --git a/xmake/plugins/show/info/target.lua b/xmake/plugins/show/info/target.lua
index 6eb342e9a..9a2ba71e4 100644
--- a/xmake/plugins/show/info/target.lua
+++ b/xmake/plugins/show/info/target.lua
@@ -23,7 +23,7 @@ import("core.base.option")
import("core.base.hashset")
import("core.project.config")
import("core.language.language")
-import("lib.detect.check_targetname")
+import("private.detect.check_targetname")
-- get source info string
function _get_sourceinfo_str(target, name, item, opt)