|
1 | 1 | class Harsh < Formula |
2 | 2 | desc "Habit tracking for geeks" |
3 | 3 | homepage "https://github.com/wakatara/harsh" |
4 | | - url "https://github.com/wakatara/harsh/archive/refs/tags/v0.11.3.tar.gz" |
5 | | - sha256 "863d2511438e1b9e407995a689cb877f69fcea71a93a88b2e1b9924930e84290" |
| 4 | + url "https://github.com/wakatara/harsh/archive/refs/tags/0.11.6.tar.gz" |
| 5 | + sha256 "f978708b70f0189b662f470ef3e2e932cfec3f3fcf63f7cc0cb41799b4cac3db" |
6 | 6 | license "MIT" |
7 | 7 | head "https://github.com/wakatara/harsh.git", branch: "master" |
8 | 8 |
|
9 | 9 | bottle do |
10 | | - sha256 cellar: :any_skip_relocation, arm64_tahoe: "39a2c374d749781e68281a280b400d3abc06e6c7782ba7030beeaee95bf69aef" |
11 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "39a2c374d749781e68281a280b400d3abc06e6c7782ba7030beeaee95bf69aef" |
12 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "39a2c374d749781e68281a280b400d3abc06e6c7782ba7030beeaee95bf69aef" |
13 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "39a2c374d749781e68281a280b400d3abc06e6c7782ba7030beeaee95bf69aef" |
14 | | - sha256 cellar: :any_skip_relocation, sonoma: "dbbcafb76c42d1e1da52f5772732eb6ce8d437dc9399eada755591d57c814d3c" |
15 | | - sha256 cellar: :any_skip_relocation, ventura: "dbbcafb76c42d1e1da52f5772732eb6ce8d437dc9399eada755591d57c814d3c" |
16 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "bce45644d7b8a0edcbc84f91c6de87ee14c886d77d36a9b39b088f6ab4e22c74" |
17 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "94744774a04b8cae4e175e6dc3e55303f75b29f7217bd39dda6f39c47f73aca0" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_tahoe: "79fb81a08b4a5d14b83ef1ec630115ca035f6d5a65f664b3fb66757a31c4a4a5" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "79fb81a08b4a5d14b83ef1ec630115ca035f6d5a65f664b3fb66757a31c4a4a5" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "79fb81a08b4a5d14b83ef1ec630115ca035f6d5a65f664b3fb66757a31c4a4a5" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "5dd64a6fa087e769ccc6606ac272181d22d04fb8532d0f50398e3112f89b2d85" |
| 14 | + sha256 cellar: :any_skip_relocation, arm64_linux: "546186ce63ad02082e9edaaa63d55e021ac982635571f9cb2a5e9b6a4f9e667b" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "716e36cf0ee965fb087af0a93481ff8a4cc4cfcf8df3fb8397ac383b8b551352" |
18 | 16 | end |
19 | 17 |
|
20 | 18 | depends_on "go" => :build |
21 | 19 |
|
22 | 20 | def install |
23 | | - system "go", "build", *std_go_args(ldflags: "-s -w") |
| 21 | + system "go", "build", *std_go_args(ldflags: "-s -w -X github.com/wakatara/harsh/cmd.version=#{version}") |
24 | 22 | end |
25 | 23 |
|
26 | 24 | test do |
|
0 commit comments