blob: 3cf74d67ae054baed11cdcab2cedf34ceac6767e [file] [log] [blame]
#!/bin/sh
#
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Format (in place) a list of files as C code.
astyle --options="${0%/*}/astylerc" "$@"
for f
do
python3 -m guardonce.guard2once -s "$f"
done