diff --git a/CHANGELOG.md b/CHANGELOG.md index 7919280..2cf5c09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/bin/lint_localized_strings_format b/bin/lint_localized_strings_format index 2ae9c05..9f955a9 100755 --- a/bin/lint_localized_strings_format +++ b/bin/lint_localized_strings_format @@ -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 echo "--- :sleuth_or_spy: Lint Apple Localized Strings Format" # A next step improvement is to move the logs management within the release