diff options
| author | ruki <[email protected]> | 2023-02-08 00:58:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-08 00:58:44 +0800 |
| commit | 9d8d0b6b038d831be197dea90271ae4bd1b7ea55 (patch) | |
| tree | a5fe5da4a4c2f2b432d6d9f148274183ec1f0410 /xmake/actions/build/main.lua | |
| parent | 1d61e87f3c869a7e33884fa0edc01c4110ddb72d (diff) | |
remove unused target args for config action
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 8c5ede701..27b2419da 100644 --- a/xmake/actions/build/main.lua +++ b/xmake/actions/build/main.lua @@ -40,7 +40,7 @@ function _do_try_build(configfile, tool, trybuild, trybuild_detected, targetname if configfile and tool and (trybuild or utils.confirm({default = true, description = "${bright}" .. path.filename(configfile) .. "${clear} found, try building it or you can run `${bright}xmake f --trybuild=${clear}` to set buildsystem"})) then if not trybuild then - task.run("config", {target = targetname, trybuild = trybuild_detected}) + task.run("config", {trybuild = trybuild_detected}) end tool.build() return true @@ -136,7 +136,7 @@ function main() else targetname = option.get("target") end - task.run("config", {target = targetname}, {disable_dump = true}) + task.run("config", {}, {disable_dump = true}) -- enter project directory local oldir = os.cd(project.directory()) |
