diff options
| author | ruki <[email protected]> | 2025-11-19 22:49:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-19 22:49:43 +0800 |
| commit | 57639cac99b24fea9073716d95c21357c8b33eac (patch) | |
| tree | 30720eccf1070459cb5ca00d7e3218ec60d88071 | |
| parent | 1b564b63347ad5add8208d69ca6cdc04faedde52 (diff) | |
update format
| -rw-r--r-- | xmake/plugins/format/main.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/plugins/format/main.lua b/xmake/plugins/format/main.lua index 76cdbbee3..934535760 100644 --- a/xmake/plugins/format/main.lua +++ b/xmake/plugins/format/main.lua @@ -218,7 +218,7 @@ function main() jobs = os.default_njob() end local format_time = os.mclock() - runjobs("format", function (index, total, opt) + runjobs("clang-format", function (index, total, opt) local sourcefile = sourcefiles[index] local format_argv = table.join(argv, {sourcefile}) progress.show(index * 100 / total, "clang-format.formatting %s", sourcefile) @@ -227,7 +227,5 @@ function main() format_time = os.mclock() - format_time progress.show(100, "${color.success}clang-format formatted %d files, spent %.3fs", #sourcefiles, format_time / 1000) end - - -- done os.setenvs(oldenvs) end |
