This tap contains Homebrew formulae for Calltrace tools.
brew tap calltrace/tap
brew install traverseSolidity code analysis, visualization, and test generation tools.
brew install traverseThis will install the following tools:
sol2cg- Generate call graphs from Soliditysol2test- Generate tests from Soliditysol2bnd- Generate bindings from Soliditysol-storage-analyzer- Analyze Solidity storage layoutsstorage-trace- Trace storage operations
You can also install directly without tapping:
brew install calltrace/tap/traverseWhen a new version of Traverse is released:
- Go to Actions
- Run "Update Formula" workflow
- Enter the version number (e.g.,
0.1.3) - Review and merge the created PR
# Update formula with new SHA256 hashes
./scripts/update-formula.sh 0.1.3
# Test the updated formula
./scripts/test-formula.sh
# Commit and push
git add Formula/traverse.rb
git commit -m "Update formula for v0.1.3"
git pushTest the formula locally:
./scripts/test-formula.shThis will:
- Check formula syntax
- Test installation
- Verify all binaries work
- Run formula test block
This repository includes GitHub Actions workflows:
- test.yml - Tests formula on every PR and push
- update-formula.yml - Updates formula when triggered (manually or from traverse releases)
The main traverse repository can trigger formula updates via repository dispatch:
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/json" \
https://api.github.com/repos/calltrace/homebrew-tap/dispatches \
-d '{"event_type":"traverse-release","client_payload":{"version":"0.1.3"}}'- scripts/update-formula.sh - Updates formula with SHA256 hashes for a new version
- scripts/test-formula.sh - Tests formula installation and functionality
MIT