summaryrefslogtreecommitdiff
path: root/tests/apis/rules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-07-15 00:47:21 +0800
committerruki <[email protected]>2025-07-15 00:47:21 +0800
commit2505c73bb7d1794e1c3deb9684e5f713db00d901 (patch)
treec8ff3ed568166f26d6443ef1cbf677f25e10f707 /tests/apis/rules/xmake.lua
parent9ea0539bee3e18aecc61a7006012661c78b1bc50 (diff)
improve tests
Diffstat (limited to 'tests/apis/rules/xmake.lua')
-rw-r--r--tests/apis/rules/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/apis/rules/xmake.lua b/tests/apis/rules/xmake.lua
index 7d67f0dca..0d193b80d 100644
--- a/tests/apis/rules/xmake.lua
+++ b/tests/apis/rules/xmake.lua
@@ -150,9 +150,9 @@ target("test")
-- add files
add_files("src/*.c|main2.c", {rules = {"stub0a", "stub0b"}})
add_files("src/main2.c", {rules = {"stub0a", "stub0b", override = true}})
- add_files("src/man/*.in", {rule = "man"})
+ add_files("src/man/*.in", {rules = "man"})
add_files("src/index.md")
- add_files("src/test.c.in", {rule = "c code"})
+ add_files("src/test.c.in", {rules = "c code"})
before_build(function (target)
print("target: before_build")