add goreleaser

This commit is contained in:
Zack Scholl 2018-07-03 07:23:30 -07:00
parent f2646eb8b3
commit 967d3d7c56
1 changed files with 34 additions and 0 deletions

34
goreleaser.yml Normal file
View File

@ -0,0 +1,34 @@
# .goreleaser.yml
# Build customization
builds:
- binary: croc
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- 386
goarm:
- 6
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
archive:
replacements:
amd64: 64bit
386: 32bit
darwin: OSX
linux_arm: raspberry_pi
format_overrides:
- goos: windows
format: zip
- goos: darwin
format: zip