Skip to content

Commit 5a809cf

Browse files
committed
make livecheck happy
1 parent ccbae36 commit 5a809cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Formula/coder.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ class Coder < Formula
33
homepage "https://github.com/coder/coder"
44
version "2.1.4"
55

6-
if OS.mac?
6+
on_macos do
77
if Hardware::CPU.arm?
88
url "https://github.com/coder/coder/releases/download/v#{version}/coder_#{version}_darwin_arm64.zip"
99
sha256 "ac67c032e81fed7ef3b2e1fc5bfafb878e7551c081d0a136f5a88583c279c060"
1010
else
1111
url "https://github.com/coder/coder/releases/download/v#{version}/coder_#{version}_darwin_amd64.zip"
1212
sha256 "693d6c450891627d879123ea9a08dc5917dafee7de6c639c5c9b496abe6f250b"
1313
end
14-
else
14+
end
15+
16+
on_linux do
1517
url "https://github.com/coder/coder/releases/download/v#{version}/coder_#{version}_linux_amd64.tar.gz"
1618
sha256 "41666bbe3afacd153fbe6c1a2d908bb4fb7a88e821205cb7136a0bad2d1cd6dc"
1719
end

0 commit comments

Comments
 (0)