fts-can/Tools/astyle/fix_code_style.sh

12 lines
194 B
Bash
Raw Normal View History

2024-04-28 19:50:36 +00:00
#!/bin/bash
if [[ $# -eq 0 ]] ; then
exit 0
fi
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
astyle \
--options=$DIR/astylerc \
--preserve-date \
$*