Skip to content

Commit

Permalink
chore: add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 20, 2022
1 parent 6551ec4 commit ff62472
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
mocktail
dist/
59 changes: 59 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
project_name: mocktail

builds:
- binary: mocktail
goos:
- windows
- darwin
- linux
- freebsd
- openbsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7

ignore:
- goos: darwin
goarch: 386
- goos: openbsd
goarch: arm

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^doc:'
- '^chore:'
- '^chore(deps):'
- '^test:'
- '^tests:'

archives:
- id: mocktail
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm}}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE

brews:
- tap:
owner: traefik
name: homebrew-tap
commit_author:
name: traefiker
email: [email protected]
folder: Formula
homepage: https://github.com/traefik/mocktail
description: |
Naive code generator that create mock implementation using testify.mock.
test: |
system "echo 0"

0 comments on commit ff62472

Please sign in to comment.