mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
docs: added documentation for post_install step in homebrew section (#2138)
This commit is contained in:
parent
cb77d654a0
commit
291e497cbc
@ -132,6 +132,13 @@ brews:
|
||||
install: |
|
||||
bin.install "program"
|
||||
...
|
||||
|
||||
# Custom post_install script for brew.
|
||||
# Could be used to do any additional work after the "install" script
|
||||
# Default is empty.
|
||||
post_install: |
|
||||
etc.install "app-config.conf"
|
||||
...
|
||||
```
|
||||
|
||||
!!! tip
|
||||
@ -171,6 +178,10 @@ class Program < Formula
|
||||
def install
|
||||
bin.install "program"
|
||||
end
|
||||
|
||||
def post_install
|
||||
etc.install "app-config.conf"
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user