/homebrew-brewfile

Used to manage packages I like to have installed on my Macs

Primary LanguageGoMIT LicenseMIT

homebrew-brewfile

License Test Brewfile Pre-Commit Renovate

This repo is used to manage the packages installed on my Macs.

Dependencies

  • Install pre-commit:

    python3 -m pip install --upgrade pip
    python3 -m pip install pre-commit
  • Install Mage:

    go install github.com/magefile/mage@latest
  • Install homebrew:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install homebrew-file:

    brew tap rcmdnk/file
    brew install brew-file
  • Install and run pre-commit hooks:

    mage runprecommit
  • Setup the Brewfile found in this repo on the local system:

    mage setup

Usage

  • Ensure all packages managed by brew are installed:

    mage run
  • Update everything:

    mage update

Debugging

If you're having trouble, please refer to the debugging doc.


Test actions locally

act -P macos-latest=-self-hosted

Useful Resources