#!/bin/bash
# This script will run astyle over all of the files in the repo. 
#  MAKE SURE NOTHING HAS BROKEN BEFORE COMMITTING YOUR NEWLY-STYLED
#  THINGS. 
# To do this, you are expected to build everything, and then run the 
#  latest "I can:"

astyle --style=kr --indent=spaces=3 --indent-namespaces --recursive \
    -xC80 "buggysim*.cpp" "buggysim/*.h" 

echo "Run 'find . -name '*.orig' -type f' to find the .orig files,"
echo "  then run 'find . -name '*.orig' -type f -delete'"
