diff options
| -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) |
