Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
if [ ! -f src/main.cpp ]; then | ||
echo "This tool must be run from the project root directory." >&2 | ||
exit 1 | ||
fi | ||
|
||
cd src | ||
|
||
find . \( -name bip32_tests.cpp -o -name utilstrencodings.cpp -o -name chainparams.cpp -o -name chainparamsseed.h -o -name tinyformat.h -o -name qt -o -name leveldb -o -name univalue -o -name secp256k1 -o -name json \) -prune -o -name '*.h' -o -name '*.cpp' -print | while read FILE; do | ||
clang-format-3.5 -style=file -i "$FILE" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sipa
Author
Owner
|
||
done | ||
|
Could we not use
clang-format
as command?