diff options
author | Christian Klinger | 2016-09-30 14:28:43 +0200 |
---|---|---|
committer | Christian Klinger | 2016-09-30 14:28:43 +0200 |
commit | e1cb835a57a730006adc6eedd58d4794b5136d85 (patch) | |
tree | b3461f1b1473726a1ac1fe93807d68a507c77c3d | |
parent | bugfix. (diff) | |
download | pvs2-e1cb835a57a730006adc6eedd58d4794b5136d85.tar.gz pvs2-e1cb835a57a730006adc6eedd58d4794b5136d85.tar.xz pvs2-e1cb835a57a730006adc6eedd58d4794b5136d85.zip |
added simple "beautify" script that will run astyle on all source files.
-rwxr-xr-x | scripts/beautify.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/beautify.sh b/scripts/beautify.sh new file mode 100755 index 0000000..5cb47f2 --- /dev/null +++ b/scripts/beautify.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# run astyle on all source files +for f in `find src -name "*.cpp" -o -name "*.h"`; do + astyle --options=./.astylerc $f +done; + |