File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,17 @@ class Coder < Formula
3
3
homepage "https://github.com/coder/coder"
4
4
version "2.1.4"
5
5
6
- if OS . mac?
6
+ on_macos do
7
7
if Hardware ::CPU . arm?
8
8
url "https://github.com/coder/coder/releases/download/v#{ version } /coder_#{ version } _darwin_arm64.zip"
9
9
sha256 "ac67c032e81fed7ef3b2e1fc5bfafb878e7551c081d0a136f5a88583c279c060"
10
10
else
11
11
url "https://github.com/coder/coder/releases/download/v#{ version } /coder_#{ version } _darwin_amd64.zip"
12
12
sha256 "693d6c450891627d879123ea9a08dc5917dafee7de6c639c5c9b496abe6f250b"
13
13
end
14
- else
14
+ end
15
+
16
+ on_linux do
15
17
url "https://github.com/coder/coder/releases/download/v#{ version } /coder_#{ version } _linux_amd64.tar.gz"
16
18
sha256 "41666bbe3afacd153fbe6c1a2d908bb4fb7a88e821205cb7136a0bad2d1cd6dc"
17
19
end
You can’t perform that action at this time.
0 commit comments