diff --git a/.gitignore b/.gitignore index 496ee2c..c3c5eb9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +dist/ \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..202d4a1 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,45 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +builds: + - binary: massdl + env: + - CGO_ENABLED=0 + goos: + - darwin + - windows + - linux + - freebsd + goarch: + - amd64 + - arm64 + - arm + - 386 + - ppc64le + - s390x + goarm: + - 6 + - 7 + main: ./cmd/massdl/ +archives: +- replacements: + darwin: Darwin + linux: Linux + windows: Windows + freebsd: FreeBSD + 386: i386 + amd64: x86_64 + format_overrides: + - goos: windows + format: zip + - goos: darwin + format: zip +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/cmd/massdl.go b/cmd/massdl/massdl.go similarity index 100% rename from cmd/massdl.go rename to cmd/massdl/massdl.go