#!/bin/bash # SPDX-License-Identifier: MIT # Copyright (c) 2023 John Watts and the LuminaSensum contributors set -e find src include lang \ \( -name "CMakeFiles" -prune \) -o \ \( -name "mini-gmp" -prune \) -o \ \( -regex '.*\.\(c\|cpp\|h\)' -exec clang-format -i "{}" \; \)