Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2a9878

Browse files
committed
feat: add support for linuxbrew
1 parent 5e2a6e1 commit b2a9878

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

coder.rb

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
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"
33
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"
75
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+
815
def install
916
bin.install "coder"
1017
end

0 commit comments

Comments
 (0)