diff options
| author | ruki <[email protected]> | 2025-04-05 18:35:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-08 15:31:57 +0800 |
| commit | e6a81c6a5c84842d6f5b54cfd6d4cdd97f45eef9 (patch) | |
| tree | 44955bd6074031bbf8d28927ba968a8d306bb517 /tests | |
| parent | 1839ec9aebb573adc36803bf3d632f97410f3666 (diff) | |
rename to add_orders
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/apis/rules_inject_deps/xmake.lua | 2 | ||||
| -rw-r--r-- | tests/apis/rules_order/xmake.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/apis/rules_inject_deps/xmake.lua b/tests/apis/rules_inject_deps/xmake.lua index 79b3f8252..880bcde32 100644 --- a/tests/apis/rules_inject_deps/xmake.lua +++ b/tests/apis/rules_inject_deps/xmake.lua @@ -1,6 +1,6 @@ rule("cppfront") set_extensions(".cpp2") - add_buildorders("cppfront", "c++.build") + add_orders("cppfront", "c++.build") on_build_file(function (target, sourcefile, opt) print("build cppfront file") local objectfile = target:objectfile(sourcefile:gsub("cpp2", "cpp")) diff --git a/tests/apis/rules_order/xmake.lua b/tests/apis/rules_order/xmake.lua index 8b3eb867a..e05dc7bd2 100644 --- a/tests/apis/rules_order/xmake.lua +++ b/tests/apis/rules_order/xmake.lua @@ -1,7 +1,7 @@ rule("markdown") set_extensions(".md", ".markdown") - add_buildorders("man", "markdown") + add_orders("man", "markdown") before_build(function (target) print("before_build: markdown") |
