diff options
| author | ruki <[email protected]> | 2023-04-06 22:58:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-04-06 22:58:27 +0800 |
| commit | f2f88f25407945b52ae109d384d27eef90ef3200 (patch) | |
| tree | d5a0ec8861e10042f18deb801e58c94d50a1d5c6 | |
| parent | 41d4741f9cb30a2f1a549b7c169e157a07028dc6 (diff) | |
improve check
| -rw-r--r-- | xmake/actions/build/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/build/main.lua b/xmake/actions/build/main.lua index 12629409b..ae7ec756b 100644 --- a/xmake/actions/build/main.lua +++ b/xmake/actions/build/main.lua @@ -171,10 +171,7 @@ function main() try { function () - - -- do check local time = os.mclock() - check_targets(targetname, {build = true}) -- do rules before building _do_project_rules("build_before") @@ -182,6 +179,9 @@ function main() -- do build _do_build(targetname, group_pattern) + -- do check + check_targets(targetname, {build = true}) + -- get build time build_time = os.mclock() - time |
