Skip to content

Commit

Permalink
in-process darwin support and use iplib 2.0.4
Browse files Browse the repository at this point in the history
 - use iplib 2.0.4
 - working through goreleaser configuration to get building working
  • Loading branch information
c-robinson committed Jan 19, 2024
1 parent e642a2a commit 603399d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ before:
- go generate ./...

builds:
- env:
- CGO_ENABLED=0

- id: ipfool-general
binary: ipfool
Expand All @@ -23,6 +21,8 @@ builds:
# - 386
- arm64
- amd64
env:
- CGO_ENABLED=0
ldflags:
- "-s -w -X main.version={{ .Version }}"

Expand All @@ -36,6 +36,7 @@ builds:
goamd64:
- v1
env:
- CGO_ENABLED=0
# NOTE: the ${ARCH} envar is created so that the post hook, below, can
# use it to determine the unique dist path for each binary. The default
# convention 'dist/${BuildID}_${BuildTarget}' which isn't as straight-
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/c-robinson/ipfool
go 1.21

require (
github.com/c-robinson/iplib/v2 v2.0.3
github.com/c-robinson/iplib/v2 v2.0.4
github.com/spf13/cobra v1.8.0
lukechampine.com/uint128 v1.3.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/c-robinson/iplib/v2 v2.0.3 h1:BzvgZBgY610fExJR3hEve/LYpv4XDbBiiZOQbYp6htg=
github.com/c-robinson/iplib/v2 v2.0.3/go.mod h1:ZfjJB+pR8Guy++ylL+OgGzN9dd4jWAE1CszvwVrjlJI=
github.com/c-robinson/iplib/v2 v2.0.4 h1:JXdnuM3qFv1DegshgAJQiOfvJ5BPdtEUm7Ft2ABGCqY=
github.com/c-robinson/iplib/v2 v2.0.4/go.mod h1:ZfjJB+pR8Guy++ylL+OgGzN9dd4jWAE1CszvwVrjlJI=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
Expand Down

0 comments on commit 603399d

Please sign in to comment.