Files
Will Hawkins 7fc319d9bc
Continuous Integration / Grammar Tests (push) Successful in 37s
Continuous Integration / Library Format Tests (push) Failing after 1m17s
Continuous Integration / Library Tests (push) Has been cancelled
testing: Debug Format CI Test Failure (2)
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
2026-05-22 03:51:52 -04:00

16 lines
228 B
Bash
Executable File

#!/bin/bash
# Format
swift format --recursive -i Sources/ 2>&1 >/dev/null
# Modified count
mc=`git status . | grep modified | wc -l | sed 's/ //g'`
if [ ${mc} -ne 0 ]; then
git status .
git diff
exit 1
fi
exit 0