Skip to content

Commit

Permalink
Update README and add goreleaser config.
Browse files Browse the repository at this point in the history
  • Loading branch information
elidhu committed Sep 18, 2020
1 parent 847a3cd commit 7f82e7e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.vscode/
test/
goss
.envrc
30 changes: 30 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,11 @@ goss list / --json | jq '.[].Name' | xargs -n1 goss delete -n
```

## Why?
I made this tool because although **chamber** is an excellent tool - it uses **viper** underneath and the problem with **viper** is that the keys are **CASE INSENSITIVE** which for me was unacceptable. So I decided to roll-my-own using the wonderful [**koanf**](https://github.com/knadh/koanf) library to manage the deserialisation of various config files.
I made this tool because although **chamber** is an excellent tool - it uses **viper** underneath and the problem with **viper** is that the keys are **CASE INSENSITIVE** which for me was unacceptable. So I decided to *roll-my-own* using the wonderful [**koanf**](https://github.com/knadh/koanf) library to manage the deserialisation of various config files.

## Acknowledgements
- [koanf](https://github.com/knadh/koanf): For being the solution to the problems I had.
- [chamber](https://github.com/segmentio/chamber): For being the inspiration.
- [cobra](https://github.com/spf13/cobra): For being an awesome CLI tool library.

[Buy me a ☕!](https://www.paypal.me/kevinglasson)

0 comments on commit 7f82e7e

Please sign in to comment.