mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 21:10:24 +00:00
20 lines
313 B
Bash
Executable file
20 lines
313 B
Bash
Executable file
#!/bin/bash -e
|
|
#
|
|
# script/lint
|
|
# mas
|
|
#
|
|
# Linting checks for CI "Lint" stage.
|
|
#
|
|
|
|
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
|