Skip to content

Instantly share code, notes, and snippets.

View spromicky's full-sized avatar
🇺🇦
Help Ukrainian Army https://savelife.in.ua/en/donate-en/

spromicky spromicky

🇺🇦
Help Ukrainian Army https://savelife.in.ua/en/donate-en/
  • Vistaprint/Vistacreate
  • Kyiv, Ukraine
View GitHub Profile
@spromicky
spromicky / post-checkout
Last active July 1, 2021 07:16
Git hook to update pods for new version of Podfile
#!/bin/zsh
changed_files="$(git diff-tree -r --name-only --no-commit-id $1 $2)"
podfile_pattern=Podfile
if (($changed_files[(I)$podfile_pattern])) then
pod install
fi