summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-13 22:39:50 +0800
committerruki <[email protected]>2018-04-13 09:59:00 +0800
commitd8a540a7e74e224d0a19dec874628a69766bcd98 (patch)
tree9e35ccf811eca836899f0a423de1f22e73f3eca7 /xmake/core/project/project.lua
parentf2c934d1370eed2e674a94c4f678a3cf3da812f0 (diff)
add debug and release rules
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 5a070fe80..9c8020c38 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -418,7 +418,7 @@ function project._load_targets()
t._RULES = t._RULES or {}
t._ORDERULES = t._ORDERULES or {}
for _, rulename in ipairs(table.wrap(t:get("rules"))) do
- local r = project.rule(rulename) or rule.rule(name)
+ local r = project.rule(rulename) or rule.rule(rulename)
if r then
t._RULES[rulename] = r
for _, deprule in ipairs(r:orderdeps()) do