brew install viamrobotics/brews/<formula>
Or brew tap viamrobotics/brews
and then brew install <formula>
.
brew help
, man brew
or check Homebrew's documentation.
To test a specific formula locally, you can try the following:
brew reinstall --build-from-source <path-to-homebrew-brews>/Formula/<formula>.rb
To test uncommitted code that the formula relies on:
- Temporarily, until ready to commit the formula
- Remove the sha256, head field
- Change url to be a tarball you create locally of your code (e.g.
tar -C <path-to-repo> -czf some.tgz .
) usingurl "file:///<some-absolute-path-to>/some.tgz"
. You'll want to make sure the directory is cleaned of build artifacts before hand. - Set version to some bogus value
- When done, undo these changes and use the normal tooling to bump the version.