diff options
| author | ruki <[email protected]> | 2025-12-03 21:07:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-03 21:07:17 +0800 |
| commit | 97dbc34c17b4bf2e37dfad2f8e4dc211d658e439 (patch) | |
| tree | ad93737f4bcecbf2d8c205fc4fd6cbfe635ee207 | |
| parent | ae5fa1488354271bd23b883cdceb572c5f11f481 (diff) | |
call on_config
| -rw-r--r-- | xmake/modules/private/check/checkers/syntax.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/check/checkers/syntax.lua b/xmake/modules/private/check/checkers/syntax.lua index c7f0a31fc..29cee655d 100644 --- a/xmake/modules/private/check/checkers/syntax.lua +++ b/xmake/modules/private/check/checkers/syntax.lua @@ -163,6 +163,9 @@ function main(argv) -- enter project directory local oldir = os.cd(project.directory()) + -- it will call on_config + project.load_targets() + -- validate targets and enable syntax-only if _validate_and_enable_targets(args) then _check(args) |
