diff options
| author | ruki <[email protected]> | 2023-02-03 22:45:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-03 22:45:50 +0800 |
| commit | 1d33c24b8e1b31aa18f73dd08f4a042315bdec5f (patch) | |
| tree | 43b7a3aa69c8d9a1d0568ed0eaeadbabf14ea27f | |
| parent | f361b6b37f6a5e910c31fce7f7159359dc0e768d (diff) | |
ignore removed files
| -rw-r--r-- | xmake/plugins/show/info/target.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/plugins/show/info/target.lua b/xmake/plugins/show/info/target.lua index 0b619a80e..eae41f4b9 100644 --- a/xmake/plugins/show/info/target.lua +++ b/xmake/plugins/show/info/target.lua @@ -200,7 +200,9 @@ function _show_target(target) if files then cprint(" ${color.dump.string}files${clear}:") for _, file in ipairs(files) do - cprint(" ${color.dump.reference}->${clear} %s%s", file, _get_sourceinfo_str(target, "files", file)) + if not file:startswith("__remove_") then + cprint(" ${color.dump.reference}->${clear} %s%s", file, _get_sourceinfo_str(target, "files", file)) + end end end local sourcekinds = hashset.new() |
