mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 15:36:29 -04:00
8 lines
185 B
Bash
Executable file
8 lines
185 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
DIRS="${*:-src include}"
|
|
|
|
find $DIRS \
|
|
-name '*.c' -or -name '*.cc' -or -name '*.h' | \
|
|
xargs clang-format -i -style=file
|