summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-07 00:42:17 +0800
committerruki <[email protected]>2021-08-07 00:42:17 +0800
commitc31dca026e2fd927b0719a03adf4d346f1be4662 (patch)
treeb75dba507f876b80c33cbc748ae6c8f06a3c1bfd
parentbd6724a7494e88a3c78961d2b68319958efb277f (diff)
improve bin2c test
-rw-r--r--tests/projects/other/bin2c/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/other/bin2c/xmake.lua b/tests/projects/other/bin2c/xmake.lua
index b5517a54e..b4c71e705 100644
--- a/tests/projects/other/bin2c/xmake.lua
+++ b/tests/projects/other/bin2c/xmake.lua
@@ -2,9 +2,9 @@ add_rules("mode.debug", "mode.release")
target("test")
set_kind("binary")
- add_rules("utils.bin2c", {linewidth = 16})
+ add_rules("utils.bin2c", {linewidth = 16, extensions = {".bin", ".png"}})
add_files("src/*.c")
add_files("src/*.bin")
- add_files("src/*.png", {rules = "utils.bin2c"})
+ add_files("src/*.png")