diff options
Diffstat (limited to 'xmake/actions/build/main.lua')
| -rw-r--r-- | xmake/actions/build/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/build/main.lua b/xmake/actions/build/main.lua index 355b7753a..31a63b1d1 100644 --- a/xmake/actions/build/main.lua +++ b/xmake/actions/build/main.lua @@ -125,7 +125,7 @@ function _on_exit(ok, errors) -- we just handle the build failure if handled and not ok then - print("build failed") + check_targets(targetname, {build_failure = true}) end end @@ -172,7 +172,7 @@ function main() function () -- do check - check_targets(targetname) + check_targets(targetname, {build = true}) -- do rules before building _do_project_rules("build_before") |
