diff options
Diffstat (limited to 'xmake/scripts')
| -rw-r--r-- | xmake/scripts/action/_build.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xmake/scripts/action/_build.lua b/xmake/scripts/action/_build.lua index c644c223a..748ed54e1 100644 --- a/xmake/scripts/action/_build.lua +++ b/xmake/scripts/action/_build.lua @@ -48,15 +48,6 @@ function _build.done() clean.remove(target_name, true) end - -- build target for makefile - if not makefile.build(target_name) then - -- error - print("") - io.cat(rule.logfile()) - utils.error("build target: %s failed!\n", target_name) - return false - end - -- clear rebuild mark and save configure to file if config.get("__rebuild") then @@ -70,6 +61,15 @@ function _build.done() end end + -- build target for makefile + if not makefile.build(target_name) then + -- error + print("") + io.cat(rule.logfile()) + utils.error("build target: %s failed!\n", target_name) + return false + end + -- ok print("build ok!") return true |
