esp-idf/tools/format-minimal.sh

10 wiersze
211 B
Bash

#!/usr/bin/env bash
# Runs astyle with parameters which should be checked in a pre-commit hook
astyle \
--style=otbs \
--indent=spaces=4 \
--convert-tabs \
--keep-one-line-statements \
--pad-header \
"$@"