Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Formula/c/ccstatusline.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class Ccstatusline < Formula
desc "Beautiful highly customizable statusline for Claude Code CLI"
homepage "https://github.com/sirmalloc/ccstatusline"
url "https://registry.npmjs.org/ccstatusline/-/ccstatusline-2.0.12.tgz"
sha256 "8bf89e7644d94d39111e017ba5f61e2e469ced6c23010a63e85f1f562d1dfae2"
license "MIT"

depends_on "node"

def install
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]
end

test do

Check failure on line 15 in Formula/c/ccstatusline.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew test --verbose chenrui333/tap/ccstatusline` failed on Linux x86_64!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:60:in '<main>'

Check failure on line 15 in Formula/c/ccstatusline.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew test --verbose chenrui333/tap/ccstatusline` failed on macOS Ventura (13)!

/usr/local/Homebrew/Library/Homebrew/test.rb:60:in '<main>'

Check failure on line 15 in Formula/c/ccstatusline.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew test --verbose chenrui333/tap/ccstatusline` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:60:in '<main>'

Check failure on line 15 in Formula/c/ccstatusline.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

`brew test --verbose chenrui333/tap/ccstatusline` failed on macOS Sequoia (15) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:60:in '<main>'
output_log = testpath/"output.log"
pid = spawn bin/"ccstatusline", testpath, [:out, :err] => output_log.to_s
sleep 1
assert_match version.to_s, output_log.read
assert_match "Main Menu", output_log.read
ensure
Process.kill("TERM", pid)
Process.wait(pid)
end
end
Loading