- Python 88.4%
- Shell 11.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
| .github | ||
| examples | ||
| .gitignore | ||
| brew.py | ||
| LICENSE | ||
| README.org | ||
| test | ||
Dotbot brew plugin
<a href="https://github.com/d12frosted/dotbot-brew/actions/workflows/macos.yml">
<img src="" alt="macOS">
</a>
<a href="https://github.com/d12frosted/dotbot-brew/actions/workflows/ubuntu.yml">
<img src="
" alt="Ubuntu">
</a>
<p align="center"> <a href="https://github.com/sponsors/d12frosted"><img alt="Sponsor" src="https://img.shields.io/badge/Sponsor-d12frosted-pink?logo=githubsponsors&logoColor=white"/></a> </p>
Plugin for dotbot that adds brew, cask, tap, brewfile, and services
directives. It allows installation of packages using Homebrew on macOS and
Linux. The cask directive is only supported on macOS. If brew is not
installed, it will be automatically installed and configured.
Installation
Just add it as submodule of your dotfiles repository.
git submodule add https://github.com/d12frosted/dotbot-brew.git
Modify your install script, so it automatically enables brew plugin.
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir dotbot-brew -c "${CONFIG}" "${@}"
Usage
Directives
| Directive | Description | Platform |
|---|---|---|
brew |
Install packages via brew install |
macOS, Linux |
cask |
Install applications via brew install --cask |
macOS only |
tap |
Add Homebrew taps | macOS, Linux |
brewfile |
Install packages from Brewfile(s) | macOS, Linux |
services |
Start services via brew services start |
macOS, Linux |
Example
In your install.conf.yaml use brew directive to list all packages to be
installed using brew. The same works with cask, tap, brewfile, and
services. For example:
- brewfile:
- Brewfile
- brew/Brewfile
- tap:
- homebrew/services
- brew:
- git
- git-lfs
- ripgrep
- brew: [gnupg, jq]
- cask: [vlc, firefox]
- services: [postgresql, redis]
Support
If you enjoy this project, you can support its development via GitHub Sponsors or Patreon.