Merge pull request #11377 from monsendag/patch-3

Link binaries from google-cloud-sdk
This commit is contained in:
Vítor Galvão 2015-05-28 11:52:24 +01:00
commit 02d7adcf9d
1 changed files with 6 additions and 4 deletions

View File

@ -1,17 +1,20 @@
cask :v1 => 'google-cloud-sdk' do
version :latest
sha256 :no_check
url 'https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz'
name 'Google Cloud SDK'
homepage 'https://cloud.google.com/sdk/'
license :apache
tags :vendor => 'Google'
binary 'google-cloud-sdk/bin/bq'
binary 'google-cloud-sdk/bin/gcloud'
binary 'google-cloud-sdk/bin/gcutil'
binary 'google-cloud-sdk/bin/git-credential-gcloud.sh', :target => 'git-credential-gcloud'
binary 'google-cloud-sdk/bin/gsutil'
binary 'google-cloud-sdk/bin/kubectl'
installer :script => 'google-cloud-sdk/install.sh',
:args => %w{--usage-reporting false --bash-completion false --path-update false --rc-path false},
:sudo => false
caveats do
"#{token} is installed at #{staged_path}/#{token}. Add your profile:
@ -28,6 +31,5 @@ cask :v1 => 'google-cloud-sdk' do
set -x MANPATH #{staged_path}/#{token}/help/man /usr/local/share/man /usr/share/man /opt/x11/share/man
Run fish_update_completions to generate completions for fish based on the man pages"
end
end