Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ _None._

### New Features

_None._
- `lint_localized_strings_format` will bypass CocoaPods if a `Podfile.lock` is not found [#136]

### Bug Fixes

Expand Down
6 changes: 5 additions & 1 deletion bin/lint_localized_strings_format
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ install_gems
# The strings generation also picks up files from our first party libraries,
# some of which are installed via CocoaPods
echo "--- :cocoapods: Setting up Pods"
install_cocoapods
if [[ -f Podfile.lock ]]; then
install_cocoapods
else
echo "CocoaPods setup not detected. Skipping CocoaPods installation..."
fi
Comment on lines 15 to +20
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I considered moving the header (--- :cocoapods:...) in the if too, but I thought it useful to show it in the logs even when the action is skipped. What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed 👍


echo "--- :sleuth_or_spy: Lint Apple Localized Strings Format"
# A next step improvement is to move the logs management within the release
Expand Down
Loading