https://github.com/movableink/homebrew-formulas
https://github.com/movableink/homebrew-formulas
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/movableink/homebrew-formulas
- Owner: movableink
- Created: 2018-01-09T20:47:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T15:31:44.000Z (3 months ago)
- Last Synced: 2025-03-10T16:40:10.258Z (3 months ago)
- Language: Ruby
- Size: 3.73 MB
- Stars: 0
- Watchers: 36
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# movableink/homebrew
Repository for custom brews.
We use a custom homebrew 'tap' for a couple of different cases:
* qt and qt-webkit - we build our own custom versions of qt and qtwebkit to support some proprietary features for capturama
* postgres - homebrew aggressively upgrades postgres, and we want to keep everyone nearer to the same version
* nsq - we maintain a version of NSQ that is compatible with the NSQ that we run in production## Using the tap
```bash
brew tap movableink/formulas
```## Adding a new formula
Copy the formula from the `homebrew-core` repo to `Formula/formula-name.rb`, or create your own from scratch. Create a pull request, get it approved and merged. Your formula will then be available as `movableink/formulas/formula-name`.
## Bottling
Small formula that are quick to build are fine to build from source each time and don't need a 'bottle' (pre-built binary). If your formula takes a long time to build, a bottle can speed up installation. First get your formula installing correctly without the bottle. Then:
```bash
brew reinstall --build-bottle formula-name
brew bottle --root-url https://movableink-homebrew-formulas.s3.amazonaws.com formula-name
```This will create a tarball of the built formula and generate a ruby block to add to the formula. Upload the tarball to s3:
```bash
s3cmd put -M -P formula-name-version.tar.gz s3://movableink-homebrew-formulas/
```Note that "rebuilds" (re-bottling the same version) will append a rebuild version to the tarball which should be accompanied by the rebuild directive in the ruby block.
Lastly, add the ruby block to the formula and open a PR.