summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_build.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-20 08:50:04 +0800
committerruki <[email protected]>2015-05-20 08:50:04 +0800
commit9c161e7f113de8c020df176c1fab87e8c93083f5 (patch)
tree3946ab2b828aa9365619eb07ed0d51b6f1fd721d /xmake/scripts/action/_build.lua
parentbf3130929b7cf628dad0300a835e13c7bb91feb0 (diff)
make config for the current target
Diffstat (limited to 'xmake/scripts/action/_build.lua')
-rw-r--r--xmake/scripts/action/_build.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/action/_build.lua b/xmake/scripts/action/_build.lua
index 19acd924f..cd80616f1 100644
--- a/xmake/scripts/action/_build.lua
+++ b/xmake/scripts/action/_build.lua
@@ -35,9 +35,9 @@ function _build.done()
-- rebuild, update
-- build target for makefile
- if not makefile.build(config.target_name()) then
+ if not makefile.build(config.get("target")) then
-- error
- utils.error("build target: %s failed!", config.target_name())
+ utils.error("build target: %s failed!", config.get("target"))
return false
end