зеркало из https://github.com/github/homebrew-gh.git
Update formulat
This commit is contained in:
Родитель
d8f8f538cc
Коммит
104e36f130
|
@ -1,12 +1,12 @@
|
|||
class Gh < Formula
|
||||
desc "GitHub CLI"
|
||||
head "https://github.com/github/gh-cli.git", :branch => "prototype"
|
||||
url "https://github.com/github/homebrew-gh/releases/download/v0.0.1/gh-cli_0.0.1_darwin_amd64.tar.gz"
|
||||
sha256 "8890ac5a60b1cceab4186cb2cf3129b955cb4122ce9c37aa936015139be986b1"
|
||||
|
||||
depends_on "go" => :build
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
system "make"
|
||||
bin.install "bin/gh"
|
||||
bin.install "gh"
|
||||
(bash_completion/"gh.sh").write `#{bin}/gh completion -s bash`
|
||||
(zsh_completion/"_gh").write `#{bin}/gh completion -s zsh`
|
||||
end
|
||||
|
@ -15,4 +15,4 @@ class Gh < Formula
|
|||
help_text = shell_output("#{bin}/gh --help")
|
||||
assert_includes help_text, "Usage:"
|
||||
end
|
||||
end
|
||||
end
|
Загрузка…
Ссылка в новой задаче