summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-04-09 22:30:59 +0800
committerruki <[email protected]>2023-04-09 22:30:59 +0800
commitdde674a22790c9a055782baa59550b5824bccb79 (patch)
tree7aeacc0126440f60cf14a3e388cb7c5be36b449b
parentd9f9bed6e41e18b5a24e365c6632b6a5377986b8 (diff)
rename project.check to project.check_options
-rw-r--r--xmake/actions/config/main.lua2
-rw-r--r--xmake/core/sandbox/modules/import/core/project/project.lua2
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x.lua2
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
4 files changed, 4 insertions, 4 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index d24987348..e7600b734 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -431,7 +431,7 @@ force to build in current directory via run `xmake -P .`]], os.projectdir())
-- check project options
if not trybuild then
- project.check()
+ project.check_options()
end
end
diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua
index a5778bc9e..e90423ca2 100644
--- a/xmake/core/sandbox/modules/import/core/project/project.lua
+++ b/xmake/core/sandbox/modules/import/core/project/project.lua
@@ -72,7 +72,7 @@ sandbox_core_project.tmpfile = project.tmpfile
sandbox_core_project.is_loaded = project.is_loaded
-- check project options
-function sandbox_core_project.check()
+function sandbox_core_project.check_options()
-- get project options
local options = {}
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua
index 4811a0f74..19a9c5f7d 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x.lua
@@ -605,7 +605,7 @@ function make(outputdir, vsinfo)
platform.load(config.plat(), arch):check()
-- check project options
- project.check()
+ project.check_options()
-- install and update requires
install_requires()
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index abfbe2538..3e728d931 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -503,7 +503,7 @@ function main(outputdir, vsinfo)
platform.load(config.plat(), arch):check()
-- check project options
- project.check()
+ project.check_options()
-- install and update requires
install_requires()