robobuggy / housekeeping.bash @ 08be08ec
History | View | Annotate | Download (487 Bytes)
1 |
#!/bin/bash |
---|---|
2 |
# This script will run astyle over all of the files in the repo. |
3 |
# MAKE SURE NOTHING HAS BROKEN BEFORE COMMITTING YOUR NEWLY-STYLED |
4 |
# THINGS. |
5 |
# To do this, you are expected to build everything, and then run the |
6 |
# latest "I can:" |
7 |
|
8 |
astyle --style=kr --indent=spaces=3 --indent-namespaces --recursive \ |
9 |
-xC80 "buggysim*.cpp" "buggysim/*.h" |
10 |
|
11 |
echo "Run 'find . -name '*.orig' -type f' to find the .orig files," |
12 |
echo " then run 'find . -name '*.orig' -type f -delete'" |