Skip to content

Instantly share code, notes, and snippets.

@armcknight
Last active April 20, 2018 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save armcknight/441d7f6b86e746cd619134ea64ce8c20 to your computer and use it in GitHub Desktop.
Save armcknight/441d7f6b86e746cd619134ea64ce8c20 to your computer and use it in GitHub Desktop.
The declaration included in my app Podfiles that allows either installing by release or by devpod without hand-editing or dirtying the Podfile's git status, for when I want to add to Pippin.
target 'SomeApp' do
if !ENV['PIPPIN_PATH'].blank? then
pod 'Pippin', :path => ENV['PIPPIN_PATH']
else
pod 'Pippin'
end
end
@armcknight
Copy link
Author

pod install grabs the production version, PIPPIN_PATH=/path/to/.../pippin pod install grabs it from a local checkout. In Fish shell, env PIPPIN_PATH=/path/to/.../pippin pod install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment