mirror of
https://github.com/goreleaser/nfpm
synced 2024-09-25 21:10:56 +02:00
docs: globs (#231)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
44adf8b27e
commit
cfc8169548
@ -86,16 +86,18 @@ conflicts:
|
|||||||
# Files to add to the package. (overridable)
|
# Files to add to the package. (overridable)
|
||||||
# This can be binaries or any other files.
|
# This can be binaries or any other files.
|
||||||
#
|
#
|
||||||
# Key is the local file, value is the path inside the package.
|
# Key is the local file/glob, value is the path inside the package.
|
||||||
files:
|
files:
|
||||||
path/to/local/foo: /usr/local/bin/foo
|
path/to/local/foo: /usr/local/bin/foo
|
||||||
|
some/glob/**/*: /usr/share/foo/
|
||||||
|
|
||||||
# Config files are dealt with differently when upgrading and uninstalling the
|
# Config files are dealt with differently when upgrading and uninstalling the
|
||||||
# package. (overridable)
|
# package. (overridable)
|
||||||
#
|
#
|
||||||
# Key is the local file, value is the path inside the package
|
# Key is the local file/glob, value is the path inside the package
|
||||||
config_files:
|
config_files:
|
||||||
path/to/local/foo.con: /etc/foo.conf
|
path/to/local/foo.conf: /etc/foo.conf
|
||||||
|
some/glob/**/*: /etc/foo/
|
||||||
|
|
||||||
# Empty folders your package may need created. (overridable)
|
# Empty folders your package may need created. (overridable)
|
||||||
empty_folders:
|
empty_folders:
|
||||||
|
Loading…
Reference in New Issue
Block a user