diff options
| author | Cody Tapscott <topolarity@tapscott.me> | 2022-03-23 23:05:33 -0700 |
|---|---|---|
| committer | Cody Tapscott <topolarity@tapscott.me> | 2022-03-25 12:27:46 -0700 |
| commit | 1de63ad79331aec9f53a7a9d95069fd0ca5f66f4 (patch) | |
| tree | 5644ee454239ef76cb51fea58d8678673f1a6ead /src/codegen | |
| parent | 7f64f7c9259ba5f67adb386ba55473d4b2b74607 (diff) | |
| download | zig-1de63ad79331aec9f53a7a9d95069fd0ca5f66f4.tar.gz zig-1de63ad79331aec9f53a7a9d95069fd0ca5f66f4.zip | |
zig fmt: Add `--exclude` argument to skip dir/file
This change adds a "--exclude" parameter to zig format, which can be
used to make sure that it does not process certain files or folders
when recursively walking a directory.
To do this, we simply piggy-back on the existing "seen" logic in zig
fmt and mark these files/folders as seen before processing begins.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
