aboutsummaryrefslogtreecommitdiff
path: root/clang-format.sh
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-29 15:11:10 +0100
committer hop311 <hop3114@gmail.com>2023-10-29 21:08:08 +0100
commit1b5e43fa7750cc4025d32f18390593cbce3ba842 (patch)
treed37fcb69766ec029ea4e3e2816c419f9d7e05f7c /clang-format.sh
parent164264b047921dbe1567d2af183e1cffb200a8cb (diff)
Clang-format formatting (with manual cleanup)
Diffstat (limited to 'clang-format.sh')
-rw-r--r--clang-format.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang-format.sh b/clang-format.sh
new file mode 100644
index 0000000..3af256e
--- /dev/null
+++ b/clang-format.sh
@@ -0,0 +1,6 @@
+#/usr/bin/env bash
+
+echo "\n\nFormatting openvic-simulation with clang-format:\n"
+find ./src/ -iname *.hpp -o -iname *.cpp | xargs clang-format --verbose -i
+
+exit 0