Merge pull request #11377 from monsendag/patch-3
Link binaries from google-cloud-sdk
This commit is contained in:
commit
02d7adcf9d
|
@ -1,17 +1,20 @@
|
||||||
cask :v1 => 'google-cloud-sdk' do
|
cask :v1 => 'google-cloud-sdk' do
|
||||||
version :latest
|
version :latest
|
||||||
sha256 :no_check
|
sha256 :no_check
|
||||||
|
|
||||||
url 'https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz'
|
url 'https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz'
|
||||||
name 'Google Cloud SDK'
|
name 'Google Cloud SDK'
|
||||||
homepage 'https://cloud.google.com/sdk/'
|
homepage 'https://cloud.google.com/sdk/'
|
||||||
license :apache
|
license :apache
|
||||||
tags :vendor => 'Google'
|
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',
|
installer :script => 'google-cloud-sdk/install.sh',
|
||||||
:args => %w{--usage-reporting false --bash-completion false --path-update false --rc-path false},
|
:args => %w{--usage-reporting false --bash-completion false --path-update false --rc-path false},
|
||||||
:sudo => false
|
:sudo => false
|
||||||
|
|
||||||
caveats do
|
caveats do
|
||||||
"#{token} is installed at #{staged_path}/#{token}. Add your profile:
|
"#{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
|
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"
|
Run fish_update_completions to generate completions for fish based on the man pages"
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue