aboutsummaryrefslogtreecommitdiff
path: root/clang-format.sh
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-10-29 21:14:55 +0100
committer GitHub <noreply@github.com>2023-10-29 21:14:55 +0100
commit06cc0606156d009026930c785c62434276fbe782 (patch)
treed37fcb69766ec029ea4e3e2816c419f9d7e05f7c /clang-format.sh
parentd8ec90f07342876e9331819bd3cc372050f78248 (diff)
parent1b5e43fa7750cc4025d32f18390593cbce3ba842 (diff)
Merge pull request #67 from OpenVicProject/format
Formating
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