From 5f66f6b93f15c84ed38c9d7e4614b009156bb60a Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Tue, 27 Sep 2022 11:05:29 -0300 Subject: [PATCH] docs: clarify brew docs --- www/docs/customization/homebrew.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/www/docs/customization/homebrew.md b/www/docs/customization/homebrew.md index b76b22c64ab..73ca5cacc3a 100644 --- a/www/docs/customization/homebrew.md +++ b/www/docs/customization/homebrew.md @@ -137,26 +137,27 @@ brews: # Default is empty. plist: | - ... + # ... # Service block. # # Since: v1.7. service: | run: foo/bar - ... + # ... # So you can `brew test` your formula. # Default is empty. test: | - system "#{bin}/program --version" - ... + system "#{bin}/foo --version" + # ... # Custom install script for brew. - # Default is 'bin.install "program"'. + # Default is 'bin.install "the binary name"'. install: | - bin.install "program" - ... + bin.install "some_other_name" + bash_completion.install "completions/foo.bash" => "foo" + # ... # Custom post_install script for brew. # Could be used to do any additional work after the "install" script