Browse Source

Add goreleaser definition

master
Trevor Slocum 1 year ago
parent
commit
f61003972c
5 changed files with 37 additions and 3 deletions
  1. +1
    -0
      .gitignore
  2. +2
    -0
      CHANGELOG
  3. +1
    -1
      go.mod
  4. +2
    -2
      go.sum
  5. +31
    -0
      goreleaser.yml

+ 1
- 0
.gitignore View File

@ -1,4 +1,5 @@
.idea/
dist/
*.sh
cmd/adbfm/adbfm
cmd/adbfm-gtk/adbfm-gtk

+ 2
- 0
CHANGELOG View File

@ -0,0 +1,2 @@
0.1.0:
- Initial release

+ 1
- 1
go.mod View File

@ -7,6 +7,6 @@ require (
github.com/stretchr/testify v1.4.0 // indirect
github.com/zach-klippenstein/goadb v0.0.0-20170530005145-029cc6bee481
gitlab.com/tslocum/cbind v0.1.1
gitlab.com/tslocum/cview v1.4.4-0.20200224155434-eb2600c8573d
gitlab.com/tslocum/cview v1.4.4-0.20200224160604-74844d6d3f06
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae // indirect
)

+ 2
- 2
go.sum View File

@ -22,8 +22,8 @@ github.com/zach-klippenstein/goadb v0.0.0-20170530005145-029cc6bee481 h1:yVrbGOZ
github.com/zach-klippenstein/goadb v0.0.0-20170530005145-029cc6bee481/go.mod h1:Drd+klC4FSDx0vKNEQDsSpWX5so04NA7l0vzHqkH8AQ=
gitlab.com/tslocum/cbind v0.1.1 h1:JXXtxMWHgWLvoF+QkrvcNvOQ59juy7OE1RhT7hZfdt0=
gitlab.com/tslocum/cbind v0.1.1/go.mod h1:rX7vkl0pUSg/yy427MmD1FZAf99S7WwpUlxF/qTpPqk=
gitlab.com/tslocum/cview v1.4.4-0.20200224155434-eb2600c8573d h1:C66lgr32Vig6TRcO31aCmNX+QiG6qNnp4Lu4z/ho6/M=
gitlab.com/tslocum/cview v1.4.4-0.20200224155434-eb2600c8573d/go.mod h1:+bEf1cg6IoWvL16YHJAKwGGpQf5s/nxXAA7YJr+WOHE=
gitlab.com/tslocum/cview v1.4.4-0.20200224160604-74844d6d3f06 h1:in6osHxntontXHPyNg46ry0rbKDdrZQf4OoNVJLXaQs=
gitlab.com/tslocum/cview v1.4.4-0.20200224160604-74844d6d3f06/go.mod h1:+bEf1cg6IoWvL16YHJAKwGGpQf5s/nxXAA7YJr+WOHE=
golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 h1:LfCXLvNmTYH9kEmVgqbnsWfruoXZIrh4YBgqVHtDvw0=
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=


+ 31
- 0
goreleaser.yml View File

@ -0,0 +1,31 @@
project_name: adbfm
builds:
-
id: adbfm
main: ./cmd/adbfm
binary: adbfm
env:
- CGO_ENABLED=1
ldflags:
- -s -w -X main.version={{.Version}}
goos:
- linux
- windows
goarch:
- 386
- amd64
archives:
-
id: adbfm
builds:
- adbfm
format_overrides:
- goos: windows
format: zip
files:
- ./*.md
- CHANGELOG
- LICENSE
checksum:
name_template: 'checksums.txt'

Loading…
Cancel
Save