summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-09 11:58:10 +0800
committerruki <[email protected]>2021-10-09 11:58:10 +0800
commita01e17a5049bdd02ddc2514bd47af74cf2ff802d (patch)
tree83cea0cf9fa564bd0bbbddb35a366b64a404635e /xmake/rules
parent59498b047190411a144f821a5cc40174faeaaa9a (diff)
move private.utils.progress to utils.progress
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/cuda/devlink/xmake.lua2
-rw-r--r--xmake/rules/qt/deploy/android.lua2
-rw-r--r--xmake/rules/qt/deploy/macosx.lua2
-rw-r--r--xmake/rules/utils/merge_archive/merge_archive.lua2
-rw-r--r--xmake/rules/utils/merge_archive/xmake.lua2
-rw-r--r--xmake/rules/utils/merge_object/xmake.lua2
-rw-r--r--xmake/rules/utils/symbols/export_all/export_all.lua2
-rw-r--r--xmake/rules/utils/symbols/extract/xmake.lua2
-rw-r--r--xmake/rules/wdk/inf/xmake.lua2
-rw-r--r--xmake/rules/wdk/man/xmake.lua2
-rw-r--r--xmake/rules/wdk/mc/xmake.lua2
-rw-r--r--xmake/rules/wdk/mof/xmake.lua2
-rw-r--r--xmake/rules/wdk/sign/xmake.lua2
-rw-r--r--xmake/rules/wdk/tracewpp/xmake.lua2
-rw-r--r--xmake/rules/xcode/application/build.lua2
-rw-r--r--xmake/rules/xcode/bundle/xmake.lua2
-rw-r--r--xmake/rules/xcode/framework/xmake.lua2
-rw-r--r--xmake/rules/xcode/info_plist/xmake.lua2
-rw-r--r--xmake/rules/xcode/storyboard/xmake.lua2
-rw-r--r--xmake/rules/xcode/xcassets/xmake.lua2
20 files changed, 20 insertions, 20 deletions
diff --git a/xmake/rules/cuda/devlink/xmake.lua b/xmake/rules/cuda/devlink/xmake.lua
index e92a0b779..fb1f603b0 100644
--- a/xmake/rules/cuda/devlink/xmake.lua
+++ b/xmake/rules/cuda/devlink/xmake.lua
@@ -34,7 +34,7 @@ rule("cuda.build.devlink")
import("core.project.depend")
import("core.tool.linker")
import("core.platform.platform")
- import("private.utils.progress")
+ import("utils.progress")
-- disable devlink?
if target:values("cuda.build.devlink") == false then
diff --git a/xmake/rules/qt/deploy/android.lua b/xmake/rules/qt/deploy/android.lua
index 97f97ea7a..c1cad3b54 100644
--- a/xmake/rules/qt/deploy/android.lua
+++ b/xmake/rules/qt/deploy/android.lua
@@ -25,7 +25,7 @@ import("core.base.semver")
import("core.project.config")
import("core.project.depend")
import("core.tool.toolchain")
-import("private.utils.progress")
+import("utils.progress")
-- escape path
function _escape_path(p)
diff --git a/xmake/rules/qt/deploy/macosx.lua b/xmake/rules/qt/deploy/macosx.lua
index 5f7b8390d..26df10b14 100644
--- a/xmake/rules/qt/deploy/macosx.lua
+++ b/xmake/rules/qt/deploy/macosx.lua
@@ -25,7 +25,7 @@ import("core.project.config")
import("core.project.depend")
import("core.tool.toolchain")
import("lib.detect.find_path")
-import("private.utils.progress")
+import("utils.progress")
-- save Info.plist
function _save_info_plist(target, info_plist_file)
diff --git a/xmake/rules/utils/merge_archive/merge_archive.lua b/xmake/rules/utils/merge_archive/merge_archive.lua
index 96069befb..c98fc6b31 100644
--- a/xmake/rules/utils/merge_archive/merge_archive.lua
+++ b/xmake/rules/utils/merge_archive/merge_archive.lua
@@ -23,7 +23,7 @@ import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
import("core.project.target", {alias = "project_target"})
-import("private.utils.progress")
+import("utils.progress")
import("core.tool.toolchain")
import("private.tools.vstool")
diff --git a/xmake/rules/utils/merge_archive/xmake.lua b/xmake/rules/utils/merge_archive/xmake.lua
index 62e3900ff..fd7805d8b 100644
--- a/xmake/rules/utils/merge_archive/xmake.lua
+++ b/xmake/rules/utils/merge_archive/xmake.lua
@@ -25,7 +25,7 @@ rule("utils.merge.archive")
if target:policy("build.merge_archive") and target:is_static() then
import("utils.archive.merge_staticlib")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
local libraryfiles = {}
for _, dep in ipairs(target:orderdeps()) do
if dep:is_static() then
diff --git a/xmake/rules/utils/merge_object/xmake.lua b/xmake/rules/utils/merge_object/xmake.lua
index 167e9013e..8bebb5f5c 100644
--- a/xmake/rules/utils/merge_object/xmake.lua
+++ b/xmake/rules/utils/merge_object/xmake.lua
@@ -31,7 +31,7 @@ rule("utils.merge.object")
import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
-- get object file
local objectfile = target:objectfile(sourcefile_obj)
diff --git a/xmake/rules/utils/symbols/export_all/export_all.lua b/xmake/rules/utils/symbols/export_all/export_all.lua
index 1a40e9820..800157411 100644
--- a/xmake/rules/utils/symbols/export_all/export_all.lua
+++ b/xmake/rules/utils/symbols/export_all/export_all.lua
@@ -24,7 +24,7 @@ import("core.tool.toolchain")
import("core.base.option")
import("core.base.hashset")
import("core.project.depend")
-import("private.utils.progress")
+import("utils.progress")
-- export all symbols for dynamic library
function main (target, opt)
diff --git a/xmake/rules/utils/symbols/extract/xmake.lua b/xmake/rules/utils/symbols/extract/xmake.lua
index f78cab808..dd1f3a1df 100644
--- a/xmake/rules/utils/symbols/extract/xmake.lua
+++ b/xmake/rules/utils/symbols/extract/xmake.lua
@@ -46,7 +46,7 @@ rule("utils.symbols.extract")
import("core.theme.theme")
import("core.project.depend")
import("core.platform.platform")
- import("private.utils.progress")
+ import("utils.progress")
-- get strip
local strip = target:tool("strip")
diff --git a/xmake/rules/wdk/inf/xmake.lua b/xmake/rules/wdk/inf/xmake.lua
index 6ad91e62d..354fbc5a7 100644
--- a/xmake/rules/wdk/inf/xmake.lua
+++ b/xmake/rules/wdk/inf/xmake.lua
@@ -54,7 +54,7 @@ rule("wdk.inf")
import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
-- the target file
local targetfile = path.join(target:targetdir(), path.basename(sourcefile) .. ".inf")
diff --git a/xmake/rules/wdk/man/xmake.lua b/xmake/rules/wdk/man/xmake.lua
index 7843542d7..c5219aa56 100644
--- a/xmake/rules/wdk/man/xmake.lua
+++ b/xmake/rules/wdk/man/xmake.lua
@@ -57,7 +57,7 @@ rule("wdk.man")
import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
-- get ctrpp
local ctrpp = target:data("wdk.ctrpp")
diff --git a/xmake/rules/wdk/mc/xmake.lua b/xmake/rules/wdk/mc/xmake.lua
index abc75fdf7..689c9786c 100644
--- a/xmake/rules/wdk/mc/xmake.lua
+++ b/xmake/rules/wdk/mc/xmake.lua
@@ -57,7 +57,7 @@ rule("wdk.mc")
import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
-- get mc
local mc = target:data("wdk.mc")
diff --git a/xmake/rules/wdk/mof/xmake.lua b/xmake/rules/wdk/mof/xmake.lua
index 8be25de20..a1a2a0366 100644
--- a/xmake/rules/wdk/mof/xmake.lua
+++ b/xmake/rules/wdk/mof/xmake.lua
@@ -73,7 +73,7 @@ rule("wdk.mof")
import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
-- get mofcomp
local mofcomp = target:data("wdk.mofcomp")
diff --git a/xmake/rules/wdk/sign/xmake.lua b/xmake/rules/wdk/sign/xmake.lua
index dd137c5ec..6be72e7b3 100644
--- a/xmake/rules/wdk/sign/xmake.lua
+++ b/xmake/rules/wdk/sign/xmake.lua
@@ -93,7 +93,7 @@ rule("wdk.sign")
import("core.project.config")
import("core.project.depend")
import("lib.detect.find_file")
- import("private.utils.progress")
+ import("utils.progress")
-- need build this object?
local tempfile = os.tmpfile(target:targetfile())
diff --git a/xmake/rules/wdk/tracewpp/xmake.lua b/xmake/rules/wdk/tracewpp/xmake.lua
index 52d72827f..75f4f37ef 100644
--- a/xmake/rules/wdk/tracewpp/xmake.lua
+++ b/xmake/rules/wdk/tracewpp/xmake.lua
@@ -57,7 +57,7 @@ rule("wdk.tracewpp")
import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
- import("private.utils.progress")
+ import("utils.progress")
-- get tracewpp
local tracewpp = target:data("wdk.tracewpp")
diff --git a/xmake/rules/xcode/application/build.lua b/xmake/rules/xcode/application/build.lua
index 786f5da89..a4862ae86 100644
--- a/xmake/rules/xcode/application/build.lua
+++ b/xmake/rules/xcode/application/build.lua
@@ -23,7 +23,7 @@ import("core.base.option")
import("core.theme.theme")
import("core.project.depend")
import("private.tools.codesign")
-import("private.utils.progress")
+import("utils.progress")
-- main entry
function main (target, opt)
diff --git a/xmake/rules/xcode/bundle/xmake.lua b/xmake/rules/xcode/bundle/xmake.lua
index 1c1cecf99..322a42418 100644
--- a/xmake/rules/xcode/bundle/xmake.lua
+++ b/xmake/rules/xcode/bundle/xmake.lua
@@ -60,7 +60,7 @@ rule("xcode.bundle")
import("core.theme.theme")
import("core.project.depend")
import("private.tools.codesign")
- import("private.utils.progress")
+ import("utils.progress")
-- get bundle and resources directory
local bundledir = path.absolute(target:data("xcode.bundle.rootdir"))
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index 6b46b3c97..de7d7c93c 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -85,7 +85,7 @@ rule("xcode.framework")
import("core.theme.theme")
import("core.project.depend")
import("private.tools.codesign")
- import("private.utils.progress")
+ import("utils.progress")
-- get framework directory
local bundledir = path.absolute(target:data("xcode.bundle.rootdir"))
diff --git a/xmake/rules/xcode/info_plist/xmake.lua b/xmake/rules/xcode/info_plist/xmake.lua
index 57d3c9995..bd991b6e1 100644
--- a/xmake/rules/xcode/info_plist/xmake.lua
+++ b/xmake/rules/xcode/info_plist/xmake.lua
@@ -32,7 +32,7 @@ rule("xcode.info_plist")
import("core.theme.theme")
import("core.project.depend")
import("core.tool.toolchain")
- import("private.utils.progress")
+ import("utils.progress")
-- check
assert(path.filename(sourcefile) == "Info.plist", "we only support Info.plist file!")
diff --git a/xmake/rules/xcode/storyboard/xmake.lua b/xmake/rules/xcode/storyboard/xmake.lua
index 6ec23dd80..d96a1c002 100644
--- a/xmake/rules/xcode/storyboard/xmake.lua
+++ b/xmake/rules/xcode/storyboard/xmake.lua
@@ -32,7 +32,7 @@ rule("xcode.storyboard")
import("core.theme.theme")
import("core.project.depend")
import("core.tool.toolchain")
- import("private.utils.progress")
+ import("utils.progress")
-- get xcode sdk directory
local xcode_sdkdir = assert(get_config("xcode"), "xcode not found!")
diff --git a/xmake/rules/xcode/xcassets/xmake.lua b/xmake/rules/xcode/xcassets/xmake.lua
index 09185b226..9322d10c1 100644
--- a/xmake/rules/xcode/xcassets/xmake.lua
+++ b/xmake/rules/xcode/xcassets/xmake.lua
@@ -32,7 +32,7 @@ rule("xcode.xcassets")
import("core.theme.theme")
import("core.project.depend")
import("core.tool.toolchain")
- import("private.utils.progress")
+ import("utils.progress")
-- get xcode sdk directory
local xcode_sdkdir = assert(get_config("xcode"), "xcode not found!")