diff options
| author | ruki <[email protected]> | 2023-02-21 23:23:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-21 23:23:14 +0800 |
| commit | 77c0a9dcfbbad5e72b3b59b02ebdf8f00a3141ac (patch) | |
| tree | d45f6dd8b71b30942a8dcf438d3f6a3c0cb0d741 /xmake/actions/build/main.lua | |
| parent | d4a354d714f69c598945f91557f7a6eec2334161 (diff) | |
improve check stage
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") |
