1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: nfpm: managed empty folders

This commit is contained in:
Carlos Alexandro Becker 2018-05-16 21:52:10 -03:00 committed by Carlos Alexandro Becker
parent e165058098
commit b5c789ec89

View File

@ -91,6 +91,12 @@ nfpm:
# Override default /usr/local/bin destination for binaries
bindir: /usr/bin
# Empty folders that should be created and managed by the packager
# implementation.
# Default is empty.
empty_folders:
- /var/log/foobar
# Files or directories to add to your package (beyond the binary).
# Keys are source paths/globs to get the files from.
# Values are the destination locations of the files in the package.
@ -127,6 +133,8 @@ nfpm:
- gitk
recommends:
- tig
empty_folders:
- /var/log/bar
rpm:
replacements:
amd64: x86_64