diff options
| author | ruki <[email protected]> | 2023-02-02 00:45:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-02 00:45:40 +0800 |
| commit | 46784c4e1549e3e7dffe5ac2bffccba70703f2c4 (patch) | |
| tree | 891a37cae0c76426655648682950f2de150f0937 /xmake/plugins/format/main.lua | |
| parent | bfb54e8b195cef458ba247b93c599f6d3a11aa3a (diff) | |
add clang-tidy envs
Diffstat (limited to 'xmake/plugins/format/main.lua')
| -rw-r--r-- | xmake/plugins/format/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/format/main.lua b/xmake/plugins/format/main.lua index 228e46517..9a119aec3 100644 --- a/xmake/plugins/format/main.lua +++ b/xmake/plugins/format/main.lua @@ -32,7 +32,7 @@ function main() -- load configuration config.load() - -- enter the environments of doxygen + -- enter the environments of llvm local oldenvs = packagenv.enter("llvm") -- find clang-format @@ -99,5 +99,6 @@ function main() os.vrunv(clang_format.program, argv, {curdir = projectdir}) cprint("${color.success}formatting complete") + -- done os.setenvs(oldenvs) end |
