homebrew-cask/Casks/cocoapods.rb

24 lines
905 B
Ruby

cask 'cocoapods' do
version '1.0.0.beta.8'
sha256 'c44dbd0e1715e0b1a151a3079ec5f10a77d26a52126a5fcca2161939eab60f9b'
# github.com/CocoaPods/CocoaPods was verified as official when first introduced to the cask
url "https://github.com/CocoaPods/CocoaPods-app/releases/download/#{version}/CocoaPods.app-#{version}.tar.bz2"
appcast 'https://app.cocoapods.org/sparkle',
checkpoint: 'cb512219facb44a86380de606d798c597226706d5fd2615d452c6164bf7baf2c'
name 'CocoaPods.app'
homepage 'https://cocoapods.org/'
license :mit
container type: :tar
app 'CocoaPods.app'
binary 'CocoaPods.app/Contents/Helpers/pod'
postflight do
# Because Homebrew-Cask symlinks the binstub directly, stop the app from asking the user to install the binstub.
system 'defaults write org.cocoapods.CocoaPods CPDoNotRequestCLIToolInstallationAgain YES'
suppress_move_to_applications
end
end