1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-24 14:16:10 +02:00

docs: clarify some things

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2020-07-10 02:16:16 -03:00
parent 865b639da8
commit 6c0299ca51
2 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Configuration
## Reference
A commented out `nfpm.yaml` config file example:
```yaml
@ -127,4 +129,4 @@ deb:
Templating is not and will not be supported.
If you really need it, you can build on top of NFPM, use `envsubst`, `jsonnet`
or something apply it on top of it.
or apply some other templating on top of it.

View File

@ -12,6 +12,21 @@ and other softwares.
I wanted something that could be used as a binary and/or as a library and that
was really simple.
So I created NFPM: a simpler, 0-dependency, as-little-assumptions-as-possible alternative to fpm.
So I decided to create NFPM: a **simpler**, **0-dependency**,
**as-little-assumptions-as-possible** alternative to fpm.
NFPM stands for *Not FPM*.
This is a subtle way of saying it wont have all features, nor all
formats that fpm has: it is supposed to be simpler.
And that's OK!, most of us don't need all those features most of the time.
[fpm]: https://github.com/jordansissel/fpm
## How does it work?
You create a YAML file with the definition of what you need, run the `nfpm`
binary, and it takes care of everything.
The same config file can be used to create both the RPM and Deb packages.