diff options
| author | ruki <[email protected]> | 2022-04-14 00:23:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-14 00:23:35 +0800 |
| commit | b3d43d26103d29ce04878b74ff101d8fcb321164 (patch) | |
| tree | d541925ac51319774cf69742bf705daed131d1d1 /xmake/actions/run/main.lua | |
| parent | 8e4983bd55693419b6a7e6548e74e8c829acf5f3 (diff) | |
improve run and install
Diffstat (limited to 'xmake/actions/run/main.lua')
| -rw-r--r-- | xmake/actions/run/main.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua index 72983c446..8a6129ba7 100644 --- a/xmake/actions/run/main.lua +++ b/xmake/actions/run/main.lua @@ -181,7 +181,10 @@ end -- main function main() - -- config it first + -- load config first + config.load() + + -- check targets first local targetname local group_pattern = option.get("group") if group_pattern then @@ -189,9 +192,6 @@ function main() else targetname = option.get("target") end - task.run("config", {target = targetname, require = "n", verbose = false}) - - -- check targets first _check_targets(targetname, group_pattern) -- enter project directory |
