diff options
| author | Stehsaer <[email protected]> | 2025-09-28 00:42:01 +0800 |
|---|---|---|
| committer | Stehsaer <[email protected]> | 2025-09-28 00:42:01 +0800 |
| commit | b0dedad75dd17c98361c2723be98bbd8d8b1d975 (patch) | |
| tree | 3bce2c25f599b6352e92d2ad8bda848724ccd5ef /xmake/plugins/format/xmake.lua | |
| parent | dd07af97f1b28ed18a9cd4a66dfd574f8fc795fb (diff) | |
fix: add default file filter for `format` task
Diffstat (limited to 'xmake/plugins/format/xmake.lua')
| -rw-r--r-- | xmake/plugins/format/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/format/xmake.lua b/xmake/plugins/format/xmake.lua index feafc3864..1b31ff9b3 100644 --- a/xmake/plugins/format/xmake.lua +++ b/xmake/plugins/format/xmake.lua @@ -40,7 +40,7 @@ task("format") "e.g.", " - xmake format --files=src/main.c", " - xmake format --files='src/*.c' [target]", - " - xmake format --files='src/**.c|excluded_file.c", + " - xmake format --files='src/**.c|excluded_file.c'", " - xmake format --files='src/main.c" .. path.envsep() .. "src/test.c'" }, {}, {nil, "target", "v", nil, "The target name. It will format all default targets if this parameter is not specified." |
