mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
🍺 Assume swiftlint has been installed
This commit is contained in:
parent
e65365d25f
commit
9add9a7e0e
4 changed files with 6 additions and 27 deletions
4
Brewfile
4
Brewfile
|
@ -3,7 +3,9 @@ brew "make"
|
|||
brew "shfmt"
|
||||
brew "swift-format"
|
||||
brew "swiftformat"
|
||||
brew "swiftlint"
|
||||
|
||||
# Already installed on GitHub Actions runner.
|
||||
# brew "swiftlint"
|
||||
|
||||
tap "kylef/formulae"
|
||||
brew "swiftenv"
|
||||
|
|
|
@ -136,29 +136,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"swiftlint": {
|
||||
"version": "0.43.1",
|
||||
"bottle": {
|
||||
"rebuild": 0,
|
||||
"cellar": ":any_skip_relocation",
|
||||
"prefix": "/opt/homebrew",
|
||||
"root_url": "https://homebrew.bintray.com/bottles",
|
||||
"files": {
|
||||
"arm64_big_sur": {
|
||||
"url": "https://homebrew.bintray.com/bottles/swiftlint-0.43.1.arm64_big_sur.bottle.tar.gz",
|
||||
"sha256": "e1b633e61793b924f5875e4812b49184c91fc6580bfd497ab650fe13fbbe8d8f"
|
||||
},
|
||||
"big_sur": {
|
||||
"url": "https://homebrew.bintray.com/bottles/swiftlint-0.43.1.big_sur.bottle.tar.gz",
|
||||
"sha256": "90faabe65db0f6bc43c3752b3b6d541e7e23cd0f368035dcef57503d74ed9581"
|
||||
},
|
||||
"catalina": {
|
||||
"url": "https://homebrew.bintray.com/bottles/swiftlint-0.43.1.catalina.bottle.tar.gz",
|
||||
"sha256": "c1396dec887bf6d7986c35f38101955fb1a5c527ad4cd459174b3841dfa62239"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"swiftenv": {
|
||||
"version": "1.4.0",
|
||||
"bottle": false
|
||||
|
@ -175,7 +152,7 @@
|
|||
"big_sur": {
|
||||
"HOMEBREW_VERSION": "3.0.9-55-g3bfa59b",
|
||||
"HOMEBREW_PREFIX": "/opt/homebrew",
|
||||
"Homebrew/homebrew-core": "842e8819cadc9ca4d8dcdea138146dd235e35cb9",
|
||||
"Homebrew/homebrew-core": "79dc67e162fb8d7b82ef38f88e7363647e35aa7d",
|
||||
"CLT": "12.4.0.0.1.1610135815",
|
||||
"Xcode": "12.4",
|
||||
"macOS": "11.2.3"
|
||||
|
|
|
@ -15,7 +15,7 @@ echo "==> 🚨 Formatting mas"
|
|||
|
||||
for LINTER in shfmt swift-format swiftformat swiftlint; do
|
||||
if [[ ! -x "$(command -v ${LINTER})" ]]; then
|
||||
echo "error: ${LINTER} is not installed. Run script/bootstrap."
|
||||
echo "error: ${LINTER} is not installed. Run 'script/bootstrap' or 'brew install ${LINTER}'."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -14,7 +14,7 @@ echo "==> 🚨 Linting mas"
|
|||
|
||||
for LINTER in git swift-format swiftformat swiftlint; do
|
||||
if [[ ! -x "$(command -v ${LINTER})" ]]; then
|
||||
echo "error: ${LINTER} is not installed. Run script/bootstrap."
|
||||
echo "error: ${LINTER} is not installed. Run 'script/bootstrap' or 'brew install ${LINTER}'."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue