diff options
| author | ruki <[email protected]> | 2021-08-07 10:45:19 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-07 10:45:19 +0800 |
| commit | f8fb074b73dd4317dd0f00a07b17cf9e9833f431 (patch) | |
| tree | 3db21476e41286a38afcca3e69519d2c3b5ffe5d /tests | |
| parent | 0f35e8d5248fc56c395a3d03a1ac35a2e3378e63 (diff) | |
| parent | c31dca026e2fd927b0719a03adf4d346f1be4662 (diff) | |
Merge pull request #1554 from xmake-io/rule
Improve rule
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/other/bin2c/xmake.lua | 4 |
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") |
