summaryrefslogtreecommitdiff
path: root/xmake/actions/run/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-14 15:35:31 +0800
committerruki <[email protected]>2017-08-14 15:35:43 +0800
commit06aaf7d5a583fd5a6574661e4b58fbd9f431817a (patch)
tree42742b32d29d776c9420e201e7b9095d9f54317f /xmake/actions/run/main.lua
parentdba45d143d8aff047da82cbe1a881056e6e4bc00 (diff)
fix target deps
Diffstat (limited to 'xmake/actions/run/main.lua')
-rw-r--r--xmake/actions/run/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index a9e8d0d7e..76cafc3f3 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -74,7 +74,7 @@ end
function _run_deps(target)
-- run target deps
- for _, dep in pairs(target:deps()) do
+ for _, dep in ipairs(target:orderdeps()) do
_run(dep)
end
end