Swift 5.6

This commit is contained in:
Adam Fowler
2022-03-17 11:23:21 +00:00
parent 90414dfc9f
commit 02d019b632
5 changed files with 9 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ which swiftformat > /dev/null 2>&1 || (echo "swiftformat not installed. You can
function replace_acceptable_years() {
# this needs to replace all acceptable forms with 'YEARS'
sed -e 's/20[12][78901]-20[12][8901]/YEARS/' -e 's/20[12][8901]/YEARS/' -e '/^#!/ d'
sed -e 's/20[12][0-9]-20[12][0-9]/YEARS/' -e 's/20[12][0-9]/YEARS/' -e '/^#!/ d'
}
printf "=> Checking format... "