aboutsummaryrefslogtreecommitdiff
path: root/code_style.sh
blob: eff22117ee53ddef2026b67fbd231bd43be90eae (plain)
1
2
3
#!/bin/bash

git status -s | grep -E "\.cpp$|\.h$" | cut -c4- | xargs astyle --indent=spaces=4 --convert-tabs --pad-oper --suffix=none