From 1f1a8b6c11df67c1442574360db02619c0060317 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Wed, 8 May 2024 14:20:51 -0400 Subject: [PATCH] Add Brewfile documentation to tap-new readme template It would be helpful for taps to document how they are to be used with `Brewfile`. Adding documentation for formulae installation to the generated tap readme would help ensure that new taps have this helpful documentation in their repos from the start. --- Library/Homebrew/dev-cmd/tap-new.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Homebrew/dev-cmd/tap-new.rb b/Library/Homebrew/dev-cmd/tap-new.rb index 8278731722..6f9a1be114 100644 --- a/Library/Homebrew/dev-cmd/tap-new.rb +++ b/Library/Homebrew/dev-cmd/tap-new.rb @@ -57,6 +57,13 @@ module Homebrew Or `brew tap #{tap}` and then `brew install `. + Optionally, in a [brew-bundle](https://github.com/Homebrew/homebrew-bundle) `Brewfile`: + + ```ruby + tap "#{tap}" + brew "" + ``` + ## Documentation `brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).