-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brew formula update for bit version v0.6.5
- Loading branch information
goreleaserbot
committed
Oct 15, 2020
1 parent
71c26f8
commit 2a3262e
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
require_relative "custom_download_strategy" | ||
class Bit < Formula | ||
desc "A modern git CLI" | ||
homepage "https://github.com/chriswalz/bit" | ||
version "0.6.5" | ||
bottle :unneeded | ||
|
||
if OS.mac? | ||
url "https://github.com/chriswalz/bit/releases/v0.6.5/bit_0.6.5_Darwin_x86_64.tar.gz", :using => CurlDownloadStrategy. | ||
sha256 "2cd398486fa9f8808899d7411c2e0b1328432a5ce54b416ea357e803a14f5e48" | ||
elsif OS.linux? | ||
if Hardware::CPU.intel? | ||
url "https://github.com/chriswalz/bit/releases/v0.6.5/bit_0.6.5_Linux_x86_64.tar.gz", :using => CurlDownloadStrategy. | ||
sha256 "056f179220d90b34033ffc1cce081ace1ea3d1d6af31e5bcd9eff84b3005a724" | ||
end | ||
end | ||
|
||
depends_on "git" | ||
|
||
def install | ||
bin.install "bit" | ||
end | ||
|
||
def caveats; <<~EOS | ||
How to use this binary | ||
EOS | ||
end | ||
|
||
test do | ||
system "#{bin}/program --version" | ||
... | ||
end | ||
end |