diff --git a/.gitignore b/.gitignore index 4ddcd87..802b533 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .vscode/ test/ goss +.envrc \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..1d16841 --- /dev/null +++ b/.goreleaser.yml @@ -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:' diff --git a/README.md b/README.md index 4e5a32a..08320d6 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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) \ No newline at end of file