You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-17 01:42:37 +02:00
docs: clarify brew docs
This commit is contained in:
@ -137,26 +137,27 @@ brews:
|
|||||||
# Default is empty.
|
# Default is empty.
|
||||||
plist: |
|
plist: |
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
...
|
# ...
|
||||||
|
|
||||||
# Service block.
|
# Service block.
|
||||||
#
|
#
|
||||||
# Since: v1.7.
|
# Since: v1.7.
|
||||||
service: |
|
service: |
|
||||||
run: foo/bar
|
run: foo/bar
|
||||||
...
|
# ...
|
||||||
|
|
||||||
# So you can `brew test` your formula.
|
# So you can `brew test` your formula.
|
||||||
# Default is empty.
|
# Default is empty.
|
||||||
test: |
|
test: |
|
||||||
system "#{bin}/program --version"
|
system "#{bin}/foo --version"
|
||||||
...
|
# ...
|
||||||
|
|
||||||
# Custom install script for brew.
|
# Custom install script for brew.
|
||||||
# Default is 'bin.install "program"'.
|
# Default is 'bin.install "the binary name"'.
|
||||||
install: |
|
install: |
|
||||||
bin.install "program"
|
bin.install "some_other_name"
|
||||||
...
|
bash_completion.install "completions/foo.bash" => "foo"
|
||||||
|
# ...
|
||||||
|
|
||||||
# Custom post_install script for brew.
|
# Custom post_install script for brew.
|
||||||
# Could be used to do any additional work after the "install" script
|
# Could be used to do any additional work after the "install" script
|
||||||
|
Reference in New Issue
Block a user