summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-07-26 13:15:26 +0200
committerGitHub <[email protected]>2021-07-26 13:15:26 +0200
commitb07380e1568c22148f26ee3784e0e7133f098302 (patch)
treef24f56f307855dee44b823cd6ce862cac54e9bb2
parent4f5bba79c59db6ddd55a0705e5f3d015a5b10dfb (diff)
Move config check before package installation
-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 e1095c509..90afe82da 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -395,6 +395,9 @@ 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
@@ -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()