Skip to content

Commit

Permalink
Install swiftlint via Brewfile if macOS >= 13 (install breaks on …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
rgoldberg committed Oct 24, 2024
1 parent 9e3b079 commit cab684b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 2 additions & 4 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 0 additions & 5 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cab684b

Please sign in to comment.