File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
class Coder < Formula
2
- desc "A command -line tool for the Coder remote development platform"
2
+ desc "Command -line tool for the Coder remote development platform"
3
3
homepage "https://github.com/cdr/coder-cli"
4
- url "https://github.com/cdr/coder-cli/releases/download/v1.14.2/coder-cli-darwin-amd64.zip"
5
- version "v1.14.2"
6
- sha256 "69b69497a75ce19851681974aa7561af7c7061357f8616e24446e58795bf6e1f"
4
+ version "1.14.2"
7
5
bottle :unneeded
6
+
7
+ if OS . mac?
8
+ url "https://github.com/cdr/coder-cli/releases/download/v1.14.2/coder-cli-darwin-amd64.zip"
9
+ sha256 "69b69497a75ce19851681974aa7561af7c7061357f8616e24446e58795bf6e1f"
10
+ else
11
+ url "https://github.com/cdr/coder-cli/releases/download/v1.14.2/coder-cli-linux-amd64.tar.gz"
12
+ sha256 "a670d99bea86a621eddebb41247cf0b699a2273bc5f0accfe3411c1253c16141"
13
+ end
14
+
8
15
def install
9
16
bin . install "coder"
10
17
end
You can’t perform that action at this time.
0 commit comments