Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.33 KB

File metadata and controls

41 lines (29 loc) · 1.33 KB

Requestly Homebrew Tap

Custom Homebrew formulae for Requestly development tools.

Install

brew tap requestly/tools
brew install requestly/tools/beads@0.55.4

Available Formulae

Formula Version Description
beads@0.55.4 0.55.4 Git-backed issue tracker (static build with icu4c linked in)

Why pinned versions?

The upstream beads Homebrew formula tracks the latest release. When upstream introduces breaking changes that affect our workflow, we pin to a known-good version here until we can upgrade.

Building from source

The beads binary requires CGO with icu4c for embedded Dolt support. The upstream GitHub releases ship without CGO on macOS, so we build our own:

brew install go icu4c@78
git clone --branch v0.55.4 --depth 1 https://github.com/steveyegge/beads.git
cd beads

mkdir -p icu-static-lib
cp /opt/homebrew/opt/icu4c@78/lib/libicuuc.a icu-static-lib/
cp /opt/homebrew/opt/icu4c@78/lib/libicui18n.a icu-static-lib/
cp /opt/homebrew/opt/icu4c@78/lib/libicudata.a icu-static-lib/

CGO_ENABLED=1 \
  CGO_CFLAGS="-I/opt/homebrew/opt/icu4c@78/include" \
  CGO_CXXFLAGS="-I/opt/homebrew/opt/icu4c@78/include" \
  CGO_LDFLAGS="-L$(pwd)/icu-static-lib -lstdc++ -lc++" \
  go build -o bd -ldflags="-s -w -X main.Version=0.55.4 -X main.Build=static" ./cmd/bd