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
26 changes: 26 additions & 0 deletions Formula/b/branchlet.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
class Branchlet < Formula
desc "Simple CLI Git worktree manager"
homepage "https://github.com/raghavpillai/branchlet"
url "https://registry.npmjs.org/branchlet/-/branchlet-1.2.0.tgz"
sha256 "8f536156dd532edd5b461359dc929892d85e3352b58134c49d571b6f9614261b"
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/b/branchlet.rb

View workflow job for this annotation

GitHub Actions / build-formula (ubuntu-22.04, ghcr.io/homebrew/ubuntu22.04:main, --user=linuxbrew, /github/home, f...

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

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

Check failure on line 15 in Formula/b/branchlet.rb

View workflow job for this annotation

GitHub Actions / build-formula (ubuntu-22.04-arm, ghcr.io/homebrew/ubuntu22.04:main, --user=linuxbrew, /github/hom...

`brew test --verbose chenrui333/tap/branchlet` failed on Linux arm64!

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

Check failure on line 15 in Formula/b/branchlet.rb

View workflow job for this annotation

GitHub Actions / build-formula (macos-14, true)

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

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

Check failure on line 15 in Formula/b/branchlet.rb

View workflow job for this annotation

GitHub Actions / build-formula (macos-15, true)

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

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

Check failure on line 15 in Formula/b/branchlet.rb

View workflow job for this annotation

GitHub Actions / build-formula (macos-26, true)

`brew test --verbose chenrui333/tap/branchlet` failed on macOS Tahoe (26) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:67:in '<main>'
assert_match version.to_s, shell_output("#{bin}/branchlet --version")

output_log = testpath/"output.log"
pid = spawn bin/"branchlet", "list", [:out, :err] => output_log.to_s
sleep 3
assert_match "🌳 Branchlet - List", output_log.read
ensure
Process.kill("TERM", pid)
Process.wait(pid)
Comment thread
chenrui333 marked this conversation as resolved.
end
end
Loading