summaryrefslogtreecommitdiff
path: root/xmake/actions
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-14 00:28:36 +0800
committerruki <[email protected]>2020-03-13 20:51:38 +0800
commit1925d9171b2dce49cb95e5816fd38bc103a44be3 (patch)
tree562d69de480b5cda4842a6d3c46088a3156a92e9 /xmake/actions
parent87272da2962c65216670860a2390638c4516841b (diff)
improve go rule
Diffstat (limited to 'xmake/actions')
-rw-r--r--xmake/actions/build/kinds/object.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua
index f9fcba8b1..df1347686 100644
--- a/xmake/actions/build/kinds/object.lua
+++ b/xmake/actions/build/kinds/object.lua
@@ -40,7 +40,7 @@ function _add_batchjobs_for_rule(batchjobs, rootjob, target, sourcebatch, suffix
script(target, batchjobs, sourcebatch, {rootjob = rootjob})
else
batchjobs:addjob("rule/" .. rulename .. "/" .. scriptname, function (index, total)
- script(target, batchjobs, sourcebatch, {progress = (index * 100) / total})
+ script(target, sourcebatch, {progress = (index * 100) / total})
end, rootjob)
end
else