Skip to content

Commit 96abe11

Browse files
committed
ahoy: add head
1 parent 12d3a5a commit 96abe11

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Formula/a/ahoy.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Ahoy < Formula
44
url "https://github.com/ahoy-cli/ahoy/archive/refs/tags/v2.4.0.tar.gz"
55
sha256 "934456f62143eb6dd92507e0144abbc3e3c0aa8a23955f89704f366b5df260f9"
66
license "MIT"
7+
head "https://github.com/ahoy-cli/ahoy.git", branch: "master"
78

89
bottle do
910
sha256 cellar: :any_skip_relocation, arm64_sequoia: "c30c730a0e5e1e318913a11f22d2b0f93a2ec1805f3904c52880b8ca97f91e91"
@@ -20,8 +21,6 @@ def install
2021
cd "v2" do
2122
system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}-homebrew")
2223
end
23-
ohai "Please check the README in the repo (https://github.com/ahoy-cli/ahoy) for new features."
24-
ohai "An updated documentation website is coming soon."
2524
end
2625

2726
test do
@@ -31,7 +30,7 @@ def install
3130
hello:
3231
cmd: echo "Hello Homebrew!"
3332
YAML
34-
assert_equal "Hello Homebrew!\n", `#{bin}/ahoy hello`
33+
assert_equal "Hello Homebrew!\n", shell_output("#{bin}/ahoy hello")
3534

3635
assert_equal "#{version}-homebrew", shell_output("#{bin}/ahoy --version").strip
3736
end

0 commit comments

Comments
 (0)