mas/script/lint
Ben Chatelain fc1211f643 🚨📜 Add shellcheck
2019-01-15 18:15:55 -07:00

14 lines
249 B
Bash
Executable file

#!/bin/bash -e
echo "==> 🚨 Linting mas"
echo
echo "--> 🕊️ Swift"
swiftlint lint --strict
echo
echo "--> 📜 Bash"
shopt -s extglob
# Only lint files with no extension (skipping .pl)
shellcheck --shell=bash script/!(*.*)
shopt -u extglob