Skip to content
Permalink
Browse files
docs: clarify brew docs
  • Loading branch information
caarlos0 committed Sep 27, 2022
1 parent 452e150 commit 5f66f6b93f15c84ed38c9d7e4614b009156bb60a
Showing 1 changed file with 8 additions and 7 deletions.
@@ -137,26 +137,27 @@ brews:
# Default is empty.
plist: |
<?xml version="1.0" encoding="UTF-8"?>
...
# ...
# 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

0 comments on commit 5f66f6b

Please sign in to comment.