1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00

Added support of goreleaser

This commit is contained in:
Tim Voronov 2018-10-13 21:30:50 -04:00
parent 3630d35b73
commit 1a5db7274c
3 changed files with 29 additions and 0 deletions

25
.goreleaser.yml Normal file
View File

@ -0,0 +1,25 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- make
builds:
- env:
- CGO_ENABLED=0
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

1
Gopkg.lock generated
View File

@ -222,6 +222,7 @@
"github.com/mafredri/cdp/devtool", "github.com/mafredri/cdp/devtool",
"github.com/mafredri/cdp/protocol/dom", "github.com/mafredri/cdp/protocol/dom",
"github.com/mafredri/cdp/protocol/emulation", "github.com/mafredri/cdp/protocol/emulation",
"github.com/mafredri/cdp/protocol/input",
"github.com/mafredri/cdp/protocol/page", "github.com/mafredri/cdp/protocol/page",
"github.com/mafredri/cdp/protocol/runtime", "github.com/mafredri/cdp/protocol/runtime",
"github.com/mafredri/cdp/protocol/target", "github.com/mafredri/cdp/protocol/target",

View File

@ -41,3 +41,6 @@ lint:
# go get code.google.com/p/go.tools/cmd/vet # go get code.google.com/p/go.tools/cmd/vet
vet: vet:
go vet ${DIR_CLI}/... ${DIR_PKG}/... go vet ${DIR_CLI}/... ${DIR_PKG}/...
release:
goreleaser