Initial file

This commit is contained in:
Justin Ethier 2024-01-11 19:54:02 -08:00
parent bc65e31a6a
commit 756e5c1b72

15
scripts/check-c-formatting.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
FORMAT_CMD="indent -linux -l80 -i2 -nut"
echo $1
$FORMAT_CMD $1 -o $1.format-test
diff $1 $1.format-test > /dev/null
#ret=$?
#
#if [[ $ret -eq 0 ]]; then
# echo "passed."
#else
# echo "failed."
#fi