Skip to content

Commit 6f12f24

Browse files
authored
feat: add initial coder-cli version (#1)
1 parent c434144 commit 6f12f24

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: test
2+
on: [push]
3+
4+
jobs:
5+
coder_cli:
6+
runs-on: macos-latest
7+
steps:
8+
- uses: actions/checkout@v1
9+
- run: brew install --build-from-source ./coder.rb
10+
- run: coder --version
11+

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Homebrew Coder Tap
2+
3+
A Homebrew Tap for Coder related utilities and applications.

coder.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
class Coder < Formula
2+
desc "A command-line tool for the Coder remote development platform"
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"
7+
bottle :unneeded
8+
def install
9+
bin.install "coder"
10+
end
11+
test do
12+
system "#{bin}/coder", "--version"
13+
end
14+
end

0 commit comments

Comments
 (0)