From e1cb835a57a730006adc6eedd58d4794b5136d85 Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Fri, 30 Sep 2016 14:28:43 +0200 Subject: added simple "beautify" script that will run astyle on all source files. --- scripts/beautify.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/beautify.sh (limited to 'scripts') 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; + -- cgit v1.2.3-55-g7522