2014-11-14 01:25:35 +08:00
|
|
|
cask :v1 => 'cloudfoundry-cli' do
|
2015-01-09 13:00:33 +08:00
|
|
|
version '6.8.0'
|
|
|
|
sha256 'ae21984e6658a094940cbc898235e2285da3f53437aa07c6607aa9c288197162'
|
2014-07-03 07:07:47 +08:00
|
|
|
|
2015-01-09 12:14:57 +08:00
|
|
|
# amazonaws.com is the official download host per the vendor homepage
|
2014-09-26 20:08:50 +08:00
|
|
|
url "http://go-cli.s3-website-us-east-1.amazonaws.com/releases/v#{version}/installer-osx-amd64.pkg"
|
2015-01-05 05:02:19 +08:00
|
|
|
name 'Cloud Foundry CLI'
|
2014-07-03 07:07:47 +08:00
|
|
|
homepage 'https://github.com/cloudfoundry/cli'
|
2015-02-01 02:17:06 +08:00
|
|
|
license :apache
|
2014-07-03 07:07:47 +08:00
|
|
|
|
2014-09-10 23:37:00 +08:00
|
|
|
pkg 'installer-osx-amd64.pkg'
|
2014-11-22 22:12:37 +08:00
|
|
|
|
2014-07-03 07:07:47 +08:00
|
|
|
uninstall :pkgutil => 'com.pivotal.cloudfoundry.pkg'
|
|
|
|
caveats do
|
|
|
|
files_in_usr_local
|
|
|
|
end
|
|
|
|
end
|