summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHapiFive <[email protected]>2024-05-15 04:51:30 +0800
committerHapiFive <[email protected]>2024-05-15 04:51:30 +0800
commit2bf516e96e12e5d56af75ed537ecaa040287be86 (patch)
tree1ec1b98d8df732a178e2930b79f0b9f6d773bfcc
parent9032465e8b49b0b7f44b08719fe74745e32cead0 (diff)
move run lupdate
-rw-r--r--xmake/rules/qt/ts/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/ts/xmake.lua b/xmake/rules/qt/ts/xmake.lua
index e7c57ef90..3e24319c4 100644
--- a/xmake/rules/qt/ts/xmake.lua
+++ b/xmake/rules/qt/ts/xmake.lua
@@ -41,10 +41,10 @@ rule("qt.ts")
end
end
table.join2(lupdate_argv, {"-ts", path(sourcefile_ts)})
- batchcmds:vrunv(lupdate, lupdate_argv)
local outfile = path.join(target:targetdir(), path.basename(sourcefile_ts) .. ".qm")
batchcmds:mkdir(target:targetdir())
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.qt.ts %s", sourcefile_ts)
+ batchcmds:vrunv(lupdate, lupdate_argv)
batchcmds:vrunv(lrelease, {path(sourcefile_ts), "-qm", path(outfile)})
batchcmds:add_depfiles(sourcefile_ts)
end) \ No newline at end of file