mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
Install swiftlint
via Brewfile
if macOS >= 13 (install breaks on macOS <= 12).
Only install `peripheryapp/periphery` tap if macOS >= 13 (install breaks on macOS <= 12). Resolve #594 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
9e3b079ec8
commit
cab684ba60
2 changed files with 2 additions and 9 deletions
6
Brewfile
6
Brewfile
|
@ -5,10 +5,8 @@ brew "swift-format"
|
|||
brew "swiftformat"
|
||||
brew "trash"
|
||||
|
||||
# Already installed on GitHub Actions runner.
|
||||
# brew "swiftlint"
|
||||
|
||||
tap "peripheryapp/periphery"
|
||||
if OS.mac? && MacOS.version >= :ventura
|
||||
brew "swiftlint"
|
||||
tap "peripheryapp/periphery"
|
||||
cask "periphery"
|
||||
end
|
||||
|
|
|
@ -20,8 +20,3 @@ printf $'==> 👢 Bootstrapping (%s)\n' "$(script/version)"
|
|||
# Install Homebrew tools
|
||||
rm -f Brewfile.lock.json
|
||||
brew bundle install --no-upgrade --verbose
|
||||
|
||||
# swiftlint is already installed on GitHub Actions runners.
|
||||
if [[ ! -x "$(command -v swiftlint)" ]]; then
|
||||
brew install swiftlint
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue