summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHapiFive <[email protected]>2024-05-15 04:49:45 +0800
committerHapiFive <[email protected]>2024-05-15 04:49:45 +0800
commit9032465e8b49b0b7f44b08719fe74745e32cead0 (patch)
tree5c6d802eed91e07d295f5d89a97c933e4f797dc3
parent98bd3cf6200808214626445c563aa801944111d3 (diff)
remove print
-rw-r--r--xmake/rules/qt/ts/xmake.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/rules/qt/ts/xmake.lua b/xmake/rules/qt/ts/xmake.lua
index c0f96d645..e7c57ef90 100644
--- a/xmake/rules/qt/ts/xmake.lua
+++ b/xmake/rules/qt/ts/xmake.lua
@@ -32,25 +32,19 @@ rule("qt.ts")
local lrelease = target:data("qt.ts.lrelease")
-- get source file
local lupdate_argv = {"-no-obsolete"}
- print(target:sourcebatches())
for _, sourcebatch in pairs(target:sourcebatches()) do
local sourcefiles = sourcebatch.sourcefiles
if sourcefiles then
- print(sourcefiles)
for _, sourcefile in ipairs(sourcebatch.sourcefiles) do
- print(sourcefile)
table.join2(lupdate_argv, path(sourcefile))
end
end
end
table.join2(lupdate_argv, {"-ts", path(sourcefile_ts)})
- print(lupdate_argv)
batchcmds:vrunv(lupdate, lupdate_argv)
local outfile = path.join(target:targetdir(), path.basename(sourcefile_ts) .. ".qm")
- print(outfile)
batchcmds:mkdir(target:targetdir())
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.qt.ts %s", sourcefile_ts)
- print(sourcefile_ts)
batchcmds:vrunv(lrelease, {path(sourcefile_ts), "-qm", path(outfile)})
batchcmds:add_depfiles(sourcefile_ts)
end) \ No newline at end of file