Skip to content

Commit 13cb62a

Browse files
Brew formula update for sprout version v0.1.1
1 parent 64a4820 commit 13cb62a

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

Formula/sprout.rb

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
# This file was generated by GoReleaser. DO NOT EDIT.
5+
class Sprout < Formula
6+
desc "Git worktree manager with terminal UI and tmux workflows."
7+
homepage "https://github.com/joegrabski/sprout"
8+
version "0.1.1"
9+
10+
on_macos do
11+
if Hardware::CPU.intel?
12+
url "https://github.com/joegrabski/sprout/releases/download/v0.1.1/sprout_0.1.1_darwin_amd64.tar.gz"
13+
sha256 "97e3e3dc422d9f5d4eda077e3fd6ae50adc304852ab7096e74e8066089c9e092"
14+
15+
def install
16+
bin.install "sprout"
17+
end
18+
end
19+
if Hardware::CPU.arm?
20+
url "https://github.com/joegrabski/sprout/releases/download/v0.1.1/sprout_0.1.1_darwin_arm64.tar.gz"
21+
sha256 "4db7dd7dcf2ccc2225e96c6170fdf7b5f2b5a301f5ea04c90b1146649c6d9808"
22+
23+
def install
24+
bin.install "sprout"
25+
end
26+
end
27+
end
28+
29+
on_linux do
30+
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
31+
url "https://github.com/joegrabski/sprout/releases/download/v0.1.1/sprout_0.1.1_linux_amd64.tar.gz"
32+
sha256 "7d61e4d8ef13fcc007a2c8998a967d0e282d31d46826a729b7c5a152f140aee4"
33+
def install
34+
bin.install "sprout"
35+
end
36+
end
37+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
38+
url "https://github.com/joegrabski/sprout/releases/download/v0.1.1/sprout_0.1.1_linux_arm64.tar.gz"
39+
sha256 "ab0189d66564691d9f2102efa47683adccd5ec26728c7ce4cba507b10e975ca9"
40+
def install
41+
bin.install "sprout"
42+
end
43+
end
44+
end
45+
46+
test do
47+
system "#{bin}/sprout", "version"
48+
end
49+
end

0 commit comments

Comments
 (0)