mas/script/lint

18 lines
224 B
Text
Raw Normal View History

2019-01-12 20:30:08 +00:00
#!/bin/bash -e
2019-01-16 01:31:51 +00:00
#
# script/lint
# mas
2019-01-16 01:31:51 +00:00
#
# Linting checks for CI "Lint" stage.
#
2019-01-12 20:30:08 +00:00
echo "==> 🚨 Linting mas"
2019-01-16 01:15:55 +00:00
echo
echo "--> 🕊️ Swift"
2019-01-12 20:30:08 +00:00
swiftlint lint --strict
2019-01-16 01:15:55 +00:00
echo
echo "--> 📜 Bash"
2021-03-21 23:50:09 +00:00
shfmt -i 2 -l -w contrib/ script/