mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8e750d75ee
Summary: Changelog: [Internal] Reviewed By: dulinriley Differential Revision: D18364013 fbshipit-source-id: 1c077cf4f886ea620a62d8fe83dfd725850bcd31
11 lines
321 B
Bash
Executable File
11 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIR="$(dirname "${BASH_SOURCE[0]}")"
|
|
cd "$DIR"
|
|
|
|
FBSOURCE="$(hg root)"
|
|
CLANG_FORMAT="$FBSOURCE/tools/third-party/clang-format/clang-format"
|
|
SRC="$FBSOURCE/xplat/js/react-native-github/ReactCommon/hermes/inspector"
|
|
|
|
find "$SRC" '(' -name '*.h' -or -name '*.cpp' ')' -exec "$CLANG_FORMAT" -i -style=file '{}' ';'
|