From 412909457c1becc8c8dfd9f7883436f45aae4403 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Mon, 4 Jul 2022 10:32:47 +0100 Subject: [PATCH] updated --- .gitignore | 4 ++++ .goreleaser.yaml | 32 ++++++++++++++++++++++++++++++++ toolbox.yaml | 4 ---- 3 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 .gitignore create mode 100644 .goreleaser.yaml delete mode 100644 toolbox.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b38751 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +dist/ + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..6f8696c --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,32 @@ +# This is an example .goreleaser.yml file with some sensible defaults. +# Make sure to check the documentation at https://goreleaser.com +before: + hooks: + # You may remove this if you don't use go modules. + - go mod tidy + # you may remove this if you don't need go generate + - go generate ./... +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: "{{ incpatch .Version }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/toolbox.yaml b/toolbox.yaml deleted file mode 100644 index cfc6923..0000000 --- a/toolbox.yaml +++ /dev/null @@ -1,4 +0,0 @@ -cmd: - info: - diskUsage: - defaultDirectory: "/Users/alexjones/Code" \ No newline at end of file