2016-08-26 15:49:49 +08:00
|
|
|
cask 'cocoapods-app' do
|
2017-01-30 03:44:14 +08:00
|
|
|
version '1.2.0'
|
|
|
|
sha256 '189e40d887364027645d5471a8fc733a22dc006dec112ad6bc33cd3ea8f417a4'
|
2016-08-26 15:49:49 +08:00
|
|
|
|
|
|
|
# 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',
|
2017-01-30 03:44:14 +08:00
|
|
|
checkpoint: '083584b4914d17892691e80a248a15ee7f773bdd1677554eb4e13480d7c9e777'
|
2016-08-26 15:49:49 +08:00
|
|
|
name 'CocoaPods.app'
|
|
|
|
homepage 'https://cocoapods.org/'
|
|
|
|
|
|
|
|
app 'CocoaPods.app'
|
|
|
|
binary "#{appdir}/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.
|
2016-11-18 23:51:50 +08:00
|
|
|
system_command '/usr/bin/defaults', args: ['write', 'org.cocoapods.CocoaPods', 'CPDoNotRequestCLIToolInstallationAgain', '-bool', 'true']
|
2016-08-26 15:49:49 +08:00
|
|
|
suppress_move_to_applications
|
|
|
|
end
|
|
|
|
|
|
|
|
zap delete: [
|
|
|
|
'~/Library/Preferences/org.cocoapods.CocoaPods.plist',
|
|
|
|
]
|
|
|
|
end
|