2014-11-14 01:25:35 +08:00
|
|
|
cask :v1 => 'cloudfoundry-cli' do
|
2015-03-13 05:56:48 +08:00
|
|
|
version '6.10.0'
|
|
|
|
sha256 '35e8552119b989ab6f3acac10f8dfdf49c3efe20d6f96c141c2129a519342222'
|
2014-07-03 07:07:47 +08:00
|
|
|
|
2015-03-13 05:56:48 +08:00
|
|
|
# pivotal.io is the official download host per the vendor homepage
|
|
|
|
url "https://cli.run.pivotal.io/stable?release=macosx64&version=#{version}&source=github-rel"
|
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'
|
2015-03-13 05:56:48 +08:00
|
|
|
|
2014-07-03 07:07:47 +08:00
|
|
|
caveats do
|
|
|
|
files_in_usr_local
|
|
|
|
end
|
|
|
|
end
|