aboutsummaryrefslogtreecommitdiff
path: root/format.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-05-22 03:02:28 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-05-23 00:15:13 +0200
commitd94ce591f20f0a561a68b239ece14f7f8fd487d9 (patch)
treeab187d9d6f146cf5da84f65b0806b034829cf705 /format.sh
parent128ded012ed9a1853f4ef73bd020156d0613446c (diff)
gtk4 rewrite
Diffstat (limited to 'format.sh')
-rwxr-xr-xformat.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/format.sh b/format.sh
new file mode 100755
index 0000000..6645cab
--- /dev/null
+++ b/format.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+cd $(dirname -- "$0")
+
+clang-format -style=file -i src_c/*.c src_c/*.h