diff options
| author | ruki <[email protected]> | 2026-03-13 22:17:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-13 22:17:23 +0800 |
| commit | 341c7dd95f06d43e9c6dcc5c7b742ab52a52575e (patch) | |
| tree | c7903e9e9b50b16866e70d5a8e38138a06912131 | |
| parent | d7e35300fded3e7495bcf5d1d33d2da2561858f7 (diff) | |
Update main.lua
| -rw-r--r-- | xmake/actions/build/main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/actions/build/main.lua b/xmake/actions/build/main.lua index c8bd7b692..aa8a8c089 100644 --- a/xmake/actions/build/main.lua +++ b/xmake/actions/build/main.lua @@ -198,6 +198,8 @@ function main(opt) -- config it first local targetname, group_pattern = action_utils.get_target_and_group() task.run("config", {}, {disable_dump = true}) + + -- check target name if targetname then assert(check_targetname(targetname)) end |
