summaryrefslogtreecommitdiff
path: root/tests/apis/rules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-08 22:40:44 +0800
committerruki <[email protected]>2022-08-08 22:40:44 +0800
commit1fb045a19472a8d04d24cb41c49a3bf75b2767d2 (patch)
treebd52399f33cb7c2434b0112d83864a420528111a /tests/apis/rules/xmake.lua
parenteac8fac2b08d6d2d16b7b9fe091e5594d091027d (diff)
add batchjobs for gcc
Diffstat (limited to 'tests/apis/rules/xmake.lua')
-rw-r--r--tests/apis/rules/xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/apis/rules/xmake.lua b/tests/apis/rules/xmake.lua
index 1ffc45b04..7d67f0dca 100644
--- a/tests/apis/rules/xmake.lua
+++ b/tests/apis/rules/xmake.lua
@@ -58,6 +58,12 @@ rule("stub2")
after_build(function (target)
print("rule(stub2): after_build")
end)
+ before_build_files(function (target)
+ print("rule(stub2): before_build_files")
+ end)
+ after_build_files(function (target)
+ print("rule(stub2): after_build_files")
+ end)
-- define rule: stub1
rule("stub1")