Skip to content

Commit

Permalink
Initial file
Browse files Browse the repository at this point in the history
  • Loading branch information
justinethier committed Jan 12, 2024
1 parent bc65e31 commit 756e5c1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/check-c-formatting.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 756e5c1

Please sign in to comment.