summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-07-26 13:33:35 +0200
committerGitHub <[email protected]>2021-07-26 13:33:35 +0200
commit4487ea39b04c2aefdfa531127c23d5de8decbd94 (patch)
tree095920b65fb532f54d5b1ee049c3ccc32400e8ea
parentb07380e1568c22148f26ee3784e0e7133f098302 (diff)
Update main.lua
-rw-r--r--xmake/actions/config/main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 90afe82da..dcf5986dc 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -395,12 +395,12 @@ force to build in current directory via run `xmake -P .`]], os.projectdir())
config.set("buildir", path.relative(buildir, project.directory()), {readonly = true, force = true})
end
- -- check configs
- _check_configs()
-
-- 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