2015-12-18 09:15:28 +08:00
|
|
|
cask 'cocoapods' do
|
2015-10-21 01:00:37 +08:00
|
|
|
version '0.39.0'
|
|
|
|
sha256 '51c5d0117272a9b3c30c15dd0a9776574a23c5d810ec0c4b298b0ce4c483f27f'
|
2015-04-06 08:39:21 +08:00
|
|
|
|
2015-10-26 22:41:39 +08:00
|
|
|
# github.com is the official download host per the vendor homepage
|
|
|
|
url "https://github.com/CocoaPods/CocoaPods-app/releases/download/#{version}/CocoaPods.app-#{version}.tar.bz2"
|
2015-04-06 08:39:21 +08:00
|
|
|
appcast 'https://app.cocoapods.org/sparkle'
|
|
|
|
name 'CocoaPods.app'
|
|
|
|
container :type => :tar
|
|
|
|
homepage 'https://cocoapods.org/'
|
|
|
|
license :mit
|
|
|
|
|
|
|
|
app 'CocoaPods.app'
|
|
|
|
|
2015-10-26 22:41:39 +08:00
|
|
|
binary 'CocoaPods.app/Contents/Helpers/pod'
|
2015-05-04 20:02:35 +08:00
|
|
|
|
|
|
|
postflight do
|
|
|
|
# Because Homebrew-Cask symlinks the binstub directly, stop the app from asking the user to install the binstub.
|
2015-07-23 20:19:26 +08:00
|
|
|
system 'defaults write org.cocoapods.CocoaPods CPDoNotRequestCLIToolInstallationAgain YES'
|
2015-05-04 20:02:35 +08:00
|
|
|
end
|
2015-04-06 08:39:21 +08:00
|
|
|
end
|