Skip to content

Commit

Permalink
start to get new release ready
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed May 12, 2023
1 parent 8a36832 commit 7cc47f3
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 174 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
dcd
.DS_Store

dist/
32 changes: 32 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
8 changes: 7 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
module github.com/boyter/dcd

go 1.15
go 1.20

require (
github.com/boyter/gocodewalker v1.1.0
github.com/mfonda/simhash v0.0.0-20151007195837-79f94a1100d6
github.com/spf13/cobra v1.0.0
)

require (
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
golang.org/x/text v0.3.3 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/boyter/gocodewalker v1.0.1-0.20230321052529-86e91fcf4a3a h1:/r8uPJqzaDzNm3J9Vvumodq/PXmtCiLKsUIj6c9v4u4=
github.com/boyter/gocodewalker v1.0.1-0.20230321052529-86e91fcf4a3a/go.mod h1:CppTdM9RtednxKPcit+Zn36FXqwYaDIGufs/tenbswo=
github.com/boyter/gocodewalker v1.1.0 h1:R/BOXRB5WcE5x/Q6Ln95GUQOQE4PAk86nq6WccZqZmM=
github.com/boyter/gocodewalker v1.1.0/go.mod h1:CppTdM9RtednxKPcit+Zn36FXqwYaDIGufs/tenbswo=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
Expand Down
5 changes: 0 additions & 5 deletions vendor/github.com/boyter/gocodewalker/go.mod

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/github.com/boyter/gocodewalker/go.sum

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/github.com/spf13/cobra/go.mod

This file was deleted.

149 changes: 0 additions & 149 deletions vendor/github.com/spf13/cobra/go.sum

This file was deleted.

9 changes: 6 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# github.com/boyter/gocodewalker v1.1.0
## explicit
## explicit; go 1.20
github.com/boyter/gocodewalker
github.com/boyter/gocodewalker/go-gitignore
# github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964
## explicit
github.com/danwakefield/fnmatch
# github.com/inconshreveable/mousetrap v1.0.0
## explicit
github.com/inconshreveable/mousetrap
# github.com/mfonda/simhash v0.0.0-20151007195837-79f94a1100d6
## explicit
github.com/mfonda/simhash
# github.com/spf13/cobra v1.0.0
## explicit
## explicit; go 1.12
github.com/spf13/cobra
# github.com/spf13/pflag v1.0.3
## explicit
github.com/spf13/pflag
# golang.org/x/text v0.3.3
## explicit
## explicit; go 1.11
golang.org/x/text/transform
golang.org/x/text/unicode/norm

0 comments on commit 7cc47f3

Please sign in to comment.