Debian Codegraph @

format.sh

raw symbols SCIP
1 #!/bin/bash
2 cd $1
3 echo -n "Running dos2unix "
4 git ls-files | grep '\.cpp$\|\.h$\|\.hpp$' | \
5 xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
6 echo
7 echo -n "Running clang-format "
8 git ls-files | grep '\.cpp$\|\.h$\|\.hpp$' | \
9 xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
10 echo
11
12