summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-05-19 13:35:40 +0800
committerGitHub <[email protected]>2023-05-19 13:35:40 +0800
commit7b7158a18fe528895ff0315d7ceea1513e9cd066 (patch)
tree065a8cd8638a25b58958319b0069328feffb80f1
parent024646ad6a90f88ae54caa3f450189b407dea7c7 (diff)
parent5e8c007654bb83130a1f1651d7efa34a5dcd7f80 (diff)
Merge pull request #3758 from horror-proton/init-typos
Fix typos
-rw-r--r--tests/apis/add_allowedxxx/xmake.lua2
-rw-r--r--tests/projects/package/brew/xmake.lua2
-rw-r--r--xmake/scripts/faq.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/apis/add_allowedxxx/xmake.lua b/tests/apis/add_allowedxxx/xmake.lua
index e2f1f1ad9..963007b99 100644
--- a/tests/apis/add_allowedxxx/xmake.lua
+++ b/tests/apis/add_allowedxxx/xmake.lua
@@ -52,7 +52,7 @@ target("test")
-- -- add debug and release modes
-- add_rules("mode.debug", "mode.release")
--
--- -- add macro defination
+-- -- add macro definition
-- add_defines("NDEBUG", "_GNU_SOURCE=1")
--
-- -- set warning all as error
diff --git a/tests/projects/package/brew/xmake.lua b/tests/projects/package/brew/xmake.lua
index 214f5e5e0..2b0128fda 100644
--- a/tests/projects/package/brew/xmake.lua
+++ b/tests/projects/package/brew/xmake.lua
@@ -47,7 +47,7 @@ target("brew")
-- -- add debug and release modes
-- add_rules("mode.debug", "mode.release")
--
--- -- add macro defination
+-- -- add macro definition
-- add_defines("NDEBUG", "_GNU_SOURCE=1")
--
-- -- set warning all as error
diff --git a/xmake/scripts/faq.lua b/xmake/scripts/faq.lua
index 067d96dc4..770bfde64 100644
--- a/xmake/scripts/faq.lua
+++ b/xmake/scripts/faq.lua
@@ -38,7 +38,7 @@
-- -- add debug and release modes
-- add_rules("mode.debug", "mode.release")
--
--- -- add macro defination
+-- -- add macro definition
-- add_defines("NDEBUG", "_GNU_SOURCE=1")
--
-- -- set warning all as error