diff options
| author | ruki <[email protected]> | 2021-07-26 21:13:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-26 21:13:57 +0800 |
| commit | 25f50f1c07e20ea4ed6e6f1c0c7f5f410d87724a (patch) | |
| tree | 095920b65fb532f54d5b1ee049c3ccc32400e8ea | |
| parent | 4f5bba79c59db6ddd55a0705e5f3d015a5b10dfb (diff) | |
| parent | 4487ea39b04c2aefdfa531127c23d5de8decbd94 (diff) | |
Merge pull request #1532 from SirLynix/patch-5
Move config check before package installation
| -rw-r--r-- | xmake/actions/config/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index e1095c509..dcf5986dc 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -398,6 +398,9 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- only config for building project using third-party buildsystem if not trybuild then + -- check configs + _check_configs() + -- install and update packages local require_enable = option.boolean(option.get("require")) if (recheck or require_enable) then @@ -432,9 +435,6 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) config.dump() end - -- check configs - _check_configs() - -- export configs if option.get("export") then _export_configs() |
